Commit b30a2412 by 谢中龙

完善导购

parent 0e6cba4a
......@@ -46,8 +46,6 @@ wxService.page({
// subPackage / page / pages / scanCoupon / scanCoupon
let currentUserInfo = wx.getStorageSync('guidBaseInfo');
let memberId = currentUserInfo.memberId;
console.log(this.data.couponInfo)
let content = {
title: this.data.couponInfo.couponName,
id: this.data.couponInfo.couponId,
......
......@@ -356,7 +356,8 @@ wxService.page({
onTapReCall(){
const currentEnv = wx.getStorageSync('_qyWeChat');
if (currentEnv) {
let qiyeExternalUserid = this.data.memberInfo.qiyeExternalUserid;
let qiyeExternalUserid = this.data.memberInfo.qiyeExternalUserid ? this.data.memberInfo.qiyeExternalUserid :
(this.data.memberInfo.qiyeInfo ? this.data.memberInfo.qiyeInfo.qiyeExternalUserid : '');
let guidInfo = wx.getStorageSync('guidBaseInfo'),
guidQiyeUserId = guidInfo.member.qiyeInfo.userid;
......
......@@ -157,8 +157,8 @@ wxService.page({
let tentacleId = res.id;
let inner_id = Integer.digit(item.productId, 10, 64);
let inner_tentacleId = Integer.digit(tentacleId, 10, 64);
// var path = 'pages/productDetail/productDetail' + '?i=' + inner_id + '&t=' + inner_tentacleId;
let path = 'pages/productDetail/productDetail';
var path = 'pages/productDetail/productDetail' + '?i=' + inner_id + '&t=' + inner_tentacleId;
// let path = 'pages/productDetail/productDetail';
console.log('推荐商品path-----', path)
//打开企业微信通讯录选择会员
wx.qy.shareToExternalContact({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment