From 59d840e84b68d4b6424e6e94c1bcebe2fe01243e Mon Sep 17 00:00:00 2001 From: jscyl_mac <13849007907@163.com> Date: Wed, 2 Jul 2025 18:00:16 +0800 Subject: [PATCH] no message --- api/bind.js | 1 + root/detail/apply.vue | 2 +- root/detail/myMain.vue | 16 ++++++++++++++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/api/bind.js b/api/bind.js index 94ce9df..5ee9576 100644 --- a/api/bind.js +++ b/api/bind.js @@ -1,5 +1,6 @@ let bindInfo = { bind_getCode:"/assistant/circle/agency/apply/inviteCode",// 获取邀请码 + bind_getOrderCode:"/yishoudan/user/apply/order/orderDetailsQrCodeImage",// 获取邀请码 bind_getSubscribeDetail :"/assistant/circle/agency/search/code",// 根据搜索code获取对应关注详情 bind_subscribeSubmit:"/assistant/circle/agency/apply/subscribe",// 提交关注 bind_recordList:"/assistant/circle/agency/apply/list",// 申请记录 diff --git a/root/detail/apply.vue b/root/detail/apply.vue index 5ce2871..7e1f89a 100644 --- a/root/detail/apply.vue +++ b/root/detail/apply.vue @@ -370,7 +370,7 @@ - + diff --git a/root/detail/myMain.vue b/root/detail/myMain.vue index 07c440a..d20a188 100644 --- a/root/detail/myMain.vue +++ b/root/detail/myMain.vue @@ -45,6 +45,7 @@ export default { canvasHeight: 0, _name:'', _job:'', + _oid:'', }; }, props: { @@ -74,6 +75,9 @@ export default { }, job:{ default:'', + }, + oid:{ + default:'', } }, created() { @@ -110,20 +114,28 @@ export default { }, job(val){ this._job = val; + }, + oid(val){ + this._oid = val; } }, methods: { init() { - let that = this; + let that = this; that._name = that.name; that._job = that.job; + that._oid = that.oid; that.appInfo = that.recommendList; console.log("that.appInfo", that.appInfo); let _env = uni.getAccountInfoSync().miniProgram.envVersion; + if(!that._oid || that._oid == 0){ + return false; + } that.G.Get( - that.api.bind_getCode, + that.api.bind_getOrderCode, { env: _env, + orderId:that._oid, }, (res) => { console.log("获取邀请码:", res);