From 0c6ab9a961a398dfdd8b4102890e4313362f9902 Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Sun, 22 Mar 2026 17:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E5=85=B3=E6=B3=A8=E5=85=AC=E4=BC=97=E5=8F=B7=20=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=BB=91=E5=AE=9A=20=E4=BB=A5=E5=8F=8A=E9=85=8D?= =?UTF-8?q?=E9=80=81=E5=91=98=E4=B8=8A=E4=B8=8B=E7=BA=BF=EF=BC=8C=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=8E=A5=E5=8D=95=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package1/myCenter/partTimeJobRegister.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package1/myCenter/partTimeJobRegister.vue b/package1/myCenter/partTimeJobRegister.vue index 9dc9e85..ba6a171 100644 --- a/package1/myCenter/partTimeJobRegister.vue +++ b/package1/myCenter/partTimeJobRegister.vue @@ -224,7 +224,7 @@ }, onLoad() { - this.getShopArea() + this.getShopArea() this.getWorkerMessage() }, onShow() { @@ -233,7 +233,7 @@ methods: { getWorkerMessage(){ let that = this - that.tui.request("/app/workerRelaPrice/getByWorkerId?workerId=W" + uni.getStorageSync('id'), "GET", {}, false, true).then((res) => { + that.tui.request("/app/workerRelaPrice/getByWorkerId?workerId=" + uni.getStorageSync('worker').workerId, "GET", {}, false, true).then((res) => { if (res.code == 200) { if(res.result != null){ let data = res.result; @@ -404,7 +404,13 @@ this.tui.request('/app/workerRelaPrice/batchAdd', 'post', submitData).then(res => { uni.hideLoading(); if (res.code == 200) { - uni.showToast({title: '提交成功'}); + let user = res.result; + uni.setStorageSync('officialAccountOpenid',user.officialAccountOpenid) + if(user.officialAccountOpenid == null || user.officialAccountOpenid == '' || user.officialAccountOpenid == undefined){ + uni.showToast({title: '您还没有关注公众号,关注公众号后可提现佣金'}); + }else{ + uni.showToast({title: '提交成功'}); + } setTimeout(() => { uni.navigateBack(); }, 1500);