diff --git a/epdc-resident-mp-yushan/pages/complete/components/personalInfo/personalInfo.js b/epdc-resident-mp-yushan/pages/complete/components/personalInfo/personalInfo.js index fa48866..4a66d3a 100644 --- a/epdc-resident-mp-yushan/pages/complete/components/personalInfo/personalInfo.js +++ b/epdc-resident-mp-yushan/pages/complete/components/personalInfo/personalInfo.js @@ -515,7 +515,7 @@ Component({ content: res.data.resultMsg, success: () => { wx.reLaunch({ - url: "/pages/indexNew/indexNew" + url: "/pages/index/index" }) } }) @@ -527,7 +527,7 @@ Component({ complete: () => { setTimeout(() => { wx.reLaunch({ - url: "/pages/indexNew/indexNew" + url: "/pages/index/index" }) }, 2000) } @@ -544,7 +544,7 @@ Component({ content: res.data.resultMsg, success: () => { wx.reLaunch({ - url: "/pages/indexNew/indexNew" + url: "/pages/index/index" }) } }) @@ -556,7 +556,7 @@ Component({ complete: () => { setTimeout(() => { wx.reLaunch({ - url: "/pages/indexNew/indexNew" + url: "/pages/index/index" }) }, 2000) } diff --git a/epdc-resident-mp-yushan/subpages/family/pages/bindFamily/bindFamily.js b/epdc-resident-mp-yushan/subpages/family/pages/bindFamily/bindFamily.js index 42c5500..524aed8 100644 --- a/epdc-resident-mp-yushan/subpages/family/pages/bindFamily/bindFamily.js +++ b/epdc-resident-mp-yushan/subpages/family/pages/bindFamily/bindFamily.js @@ -590,7 +590,8 @@ Page({ gridId: this.data.gridInfo.gridId ? this.data.gridInfo.gridId : this.data.houseInfo.gridId, wxCode: this.data.unionIdStatus === '0' ? this.data.wxInfo.wxCode : '', encryptedData: this.data.unionIdStatus === '0' ? this.data.wxInfo.encryptedData : '', - iv: this.data.unionIdStatus === '0' ? this.data.wxInfo.iv : '' + iv: this.data.unionIdStatus === '0' ? this.data.wxInfo.iv : '', + status: '1' } console.log(para) api.completeResidentInfoV2(para).then(res => { @@ -638,7 +639,8 @@ Page({ gridId: this.data.gridInfo.gridId ? this.data.gridInfo.gridId : this.data.houseInfo.gridId, wxCode: this.data.unionIdStatus === '0' ? this.data.wxInfo.wxCode : '', encryptedData: this.data.unionIdStatus === '0' ? this.data.wxInfo.encryptedData : '', - iv: this.data.unionIdStatus === '0' ? this.data.wxInfo.iv : '' + iv: this.data.unionIdStatus === '0' ? this.data.wxInfo.iv : '', + status: '1' } console.log(para) api.completeResidentInfo(para).then(res => { diff --git a/epdc-resident-mp-yushan/utils/api.js b/epdc-resident-mp-yushan/utils/api.js index 87be1fe..d4eff0c 100644 --- a/epdc-resident-mp-yushan/utils/api.js +++ b/epdc-resident-mp-yushan/utils/api.js @@ -11,6 +11,7 @@ module.exports = { getGridList: getGridList, changeGrid: changeGrid, completeInfo: completeInfo, + completeResidentInfo: completeResidentInfo, completeResidentInfoV2: completeResidentInfoV2, completePartyInfoV2: completePartyInfoV2, completeCompanyInfo: completeCompanyInfo, @@ -164,6 +165,10 @@ function gridLeaderRegister(mobile, smsCode, wxCode) { function completeInfo(data) { return fly.post('app-user/user/completeInfo', data) } +// 居民 完善个人信息 传验证码 +function completeResidentInfo(para) { + return fly.post("app-user/user/completeResidentInfo", para) +} // 居民 完善个人信息v2 不需要穿验证码 function completeResidentInfoV2(para) { return fly.post("app-user/user/v2/completeResidentInfo", para)