From fb0aaa350e90a876ea40fa4d0c5ef646467c591b Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期二, 04 七月 2023 15:03:03 +0800 Subject: [PATCH] no message --- uniapp/pages/goods/goodsDetail.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/uniapp/pages/goods/goodsDetail.vue b/uniapp/pages/goods/goodsDetail.vue index 321d253..4d4953b 100644 --- a/uniapp/pages/goods/goodsDetail.vue +++ b/uniapp/pages/goods/goodsDetail.vue @@ -578,7 +578,6 @@ console.log(this.pageType) if (this.pageType == 'tb' || this.pageType == 'tmshop' || this.pageType == 'tm') { if (this.user.tb_account) { - this.getTbsrc() } else { this.empowerModel = true @@ -632,10 +631,11 @@ if (e.code != 0) return that.$alert(e.msg) if(that.frompage=='freebuy') {//0鍏冭喘鐨勮褰曞晢鍝乮d - console.log(e.data.info.itemId); + console.log(e.data.info.itemId); this.$u.api.updateFirstFreeBrowse({ goodsid:that.optionsInfo.goodsId, - new_goodsId:e.data.info.itemId + new_goodsId:e.data.info.itemId, + plateform:'tb' }).then(e=>{ }); @@ -757,6 +757,16 @@ }).then(e => { var res = e.data.info; console.log(res) + if(that.frompage=='freebuy') + {//0鍏冭喘鐨勮褰曞晢鍝乮d + this.$u.api.updateFirstFreeBrowse({ + goodsid:that.optionsInfo.goodsId, + new_goodsId:that.optionsInfo.goodsId, + plateform:'dy' + }).then(e=>{ + + }); + } // #ifdef APP-PLUS plus.runtime.openURL(res.dy_deeplink, e => { uni.navigateTo({ -- Gitblit v1.9.3