diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index ed3a012..6078363 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -33,6 +33,8 @@ Page({ iurl: o.imghost, defaultAvatar: o.resourceUrl + "/static/images/user68.jpg", + viplimited_timetype: 0, + data: null, content: "", //商品详情 comments: null, //商品评论 @@ -740,7 +742,8 @@ Page({ i.get("/api/weshop/goods/get/" + o.stoid + "/" + ee.data.gid, { failRollback: !0, success: function (t) { - console.log(t); + + ee.data.viplimited_timetype = t.data.data.viplimited_timetype; if (t.data.code == 0) { if (t.data.data.is_on_sale != 1) { wx.showModal({ @@ -3720,7 +3723,8 @@ Page({ data: { store_id: os.stoid, user_id: user_id, - goods_id: gd.goods_id + goods_id: gd.goods_id, + timetype: th.data.viplimited_timetype }, success: function (t) { if (t.data.code == 0) {