From 6d7d4d830580b48ce0487942ce96eca8be675aaf Mon Sep 17 00:00:00 2001 From: duanliangtao <48194157+duanliangtao@users.noreply.github.com> Date: Fri, 9 Aug 2024 16:20:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E8=AF=89=E6=B1=82=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E2=80=9C=E5=9F=8E=E7=AE=A1=E4=B8=8A=E6=8A=A5=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../demandCheck/pages/dissatisfied/demandCheck/demandCheck.js | 3 +++ utils/api.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.js b/subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.js index 89a3798..e18c048 100644 --- a/subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.js +++ b/subpages/demandCheck/pages/dissatisfied/demandCheck/demandCheck.js @@ -643,6 +643,9 @@ Page({ } const parm = this.data.fmData + parm.reportUserId = this.data.fmData.resiId + parm.eventContent = this.data.fmData.content + parm.sourceType = "4" console.log(parm, '事件'); api.addEvent(parm).then(res => { console.log(res); diff --git a/utils/api.js b/utils/api.js index 6e67392..d50b01b 100644 --- a/utils/api.js +++ b/utils/api.js @@ -258,7 +258,7 @@ function getAgencygridtree() { } // 上报事件 function addEvent(parm) { - return fly.post(`governance/icEventOld/add-event-resi`, parm) + return fly.post(`governance/icEventOld/add`, parm) } // 上报诉求中选择居民 function getResidentBaseInfoPage(parm) {