From fd787ef9405e677c6ab62e3fac776347f7a4428d Mon Sep 17 00:00:00 2001 From: duanliangtao <48194157+duanliangtao@users.noreply.github.com> Date: Fri, 9 Aug 2024 16:21:12 +0800 Subject: [PATCH] no message --- .../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 8a6e49e..7b1b3c5 100644 --- a/utils/api.js +++ b/utils/api.js @@ -256,7 +256,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) {