Commit b7021a81 by 谢中龙

提交配置

parent 5e4bc91e
...@@ -112,7 +112,7 @@ App({ ...@@ -112,7 +112,7 @@ App({
systemInfo: wx.getSystemInfoSync(), systemInfo: wx.getSystemInfoSync(),
ctx: envInfo.ctx, ctx: envInfo.ctx,
openCard: false, openCard: false,
appId: 'wxc3b64b09b1d3dfc2', appId: 'wxac09792264c49b5c',
userNo: null, userNo: null,
storeId: '', storeId: '',
storeName: '', storeName: '',
...@@ -125,8 +125,8 @@ App({ ...@@ -125,8 +125,8 @@ App({
cityJson: cityJson, cityJson: cityJson,
// brandId: 2711, // brandId: 2711,
// brandId: 2005, // brandId: 2005,
brandId: 1001, // brandId: 1001,
// brandId: 1002, brandId: 1002,
// brandId: 3001, // brandId: 3001,
// brandId: 3002, // brandId: 3002,
} }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// 组件plus 中数据请求 token 修改 // 组件plus 中数据请求 token 修改
// app.js 中brandId 修改为对应 // app.js 中brandId 修改为对应
const PROJECT_ENV = 'dev' // 生产 prod, 开发 dev, 测试 test, 预生产 pre const PROJECT_ENV = 'test' // 生产 prod, 开发 dev, 测试 test, 预生产 pre
const needMock = '' // const needMock = '' //
// appid_dev_wx wxc3b64b09b1d3dfc2 // appid_dev_wx wxc3b64b09b1d3dfc2
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.8.2", "libVersion": "2.8.2",
"appid": "wxc3b64b09b1d3dfc2", "appid": "wxac09792264c49b5c",
"projectname": "%E5%BE%AE%E5%95%86%E5%9F%8E", "projectname": "%E5%BE%AE%E5%95%86%E5%9F%8E",
"debugOptions": { "debugOptions": {
"hidedInDevtools": [] "hidedInDevtools": []
......
...@@ -44,25 +44,25 @@ wxService.page({ ...@@ -44,25 +44,25 @@ wxService.page({
//获取小程序码 //获取小程序码
getMiniQrcode(id){ getMiniQrcode(id){
// subPackage / page / pages / scanCoupon / scanCoupon // subPackage / page / pages / scanCoupon / scanCoupon
let currentUserInfo = wx.getStorageSync('guidBaseInfo'); let currentUserInfo = wx.getStorageSync('_guidCouponInfo');
let memberId = currentUserInfo.memberId; let memberId = currentUserInfo.memberId;
let content = { let content = {
title: this.data.couponInfo.couponName, title: currentUserInfo.title,
id: this.data.couponInfo.couponId, id: currentUserInfo.id,
url: this.data.couponInfo.imageBg url: currentUserInfo.imageBg
} }
let tentacleInfo = { let tentacleInfo = {
content: JSON.stringify(content), content: JSON.stringify(content),
contentId: this.data.couponInfo.couponId, contentId: currentUserInfo.id,
contentType: app.globalData.contants.SHARE_TYPE.PRODUCT_DETAIL, //内容类型 STAFF_RECOMMAND contentType: app.globalData.contants.SHARE_TYPE.PRODUCT_DETAIL, //内容类型 STAFF_RECOMMAND
title: this.data.couponInfo.couponName, //标题 title: currentUserInfo.title, //标题
type: 3// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销 type: 3// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销
} }
wxService.getTentacleContent(tentacleInfo).then(res => { wxService.getTentacleContent(tentacleInfo).then(res => {
if (res && res.id) { if (res && res.id) {
let tentacleId = res.id; let tentacleId = res.id;
let inner_id = Integer.digit(this.data.couponInfo.couponId, 10, 64); let inner_id = Integer.digit(currentUserInfo.id, 10, 64);
let inner_tentacleId = Integer.digit(tentacleId, 10, 64); let inner_tentacleId = Integer.digit(tentacleId, 10, 64);
//生成二维码 //生成二维码
......
...@@ -97,16 +97,16 @@ wxService.page({ ...@@ -97,16 +97,16 @@ wxService.page({
let item = e.currentTarget.dataset.item; let item = e.currentTarget.dataset.item;
let id = item.id; let id = item.id;
let content = { let content = {
title: item.couponName, title: item.title,
id: item.couponId, id: item.id,
url: item.imageBg url: item.imageBg
} }
let tentacleInfo = { let tentacleInfo = {
content: JSON.stringify(content), content: JSON.stringify(content),
contentId: item.couponId, contentId: item.id,
contentType: app.globalData.contants.SHARE_TYPE.PRODUCT_DETAIL, //内容类型 STAFF_RECOMMAND contentType: app.globalData.contants.SHARE_TYPE.PRODUCT_DETAIL, //内容类型 STAFF_RECOMMAND
title: item.couponName, //标题 title: item.title, //标题
type: 3// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销 type: 3// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销
} }
......
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