From e54282b8397eb04884f3617b5657214db2d6f91d Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Tue, 1 Sep 2020 17:33:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=82=B9=E5=87=BB=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/zhibo/index.nvue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pages/zhibo/index.nvue b/pages/zhibo/index.nvue index f049fd4..6316680 100644 --- a/pages/zhibo/index.nvue +++ b/pages/zhibo/index.nvue @@ -552,6 +552,23 @@ export default { }, xuanzhong(i){ let that = this + const token = uni.getStorageSync('token'); + if(this.$store.state.hasLogin){ + uni.request({ + url:"https://mall.dmygkeji.com/api/Specialci/viewingOPproducts", + data:{ + good_id:that.list[i].goods_id, + exple_id:that.info.user_id + }, + method:"POST", + header:{ + "Authorization" : 'Bearer' + " " + token + }, + success(a){ + console.log(a) + } + }) + } uni.navigateTo({ url: `/pageB/sdetails/index?id=${that.list[i].goods_id}&type=1` });