66d45eac by simon

默认提交

1 parent ddc356b9
......@@ -35,12 +35,15 @@ Page({
options: options
})
this.queryConfig();
// console.log("options:",options);
},
onShow() {
this.hideMask();
let options = this.data.options;
console.log("options:",options);
console.log("q:",q);
let q = decodeURIComponent(options.q);
// 获取会员码
......@@ -74,7 +77,7 @@ Page({
if (m || c || sessionId) {
this.initData();
}
console.log("onLoad");
},
initData() {
......@@ -85,6 +88,7 @@ Page({
if (memberCode) {
app.globalData.tlMemberCode = memberCode;
}
console.log("code:",code);
// 如果存在扫码参数,则需要拉用户身份(未授权的情况下 要拉授权)
this.queryMember().then((result) => {
let {
......@@ -401,6 +405,7 @@ Page({
return;
}
app.router.push({
openType: "redirect",
path: "scanResult",
query: {
code: code
......