@@ -132,7 +132,7 @@ Page({
})
//根据codeId 生成二维码
new QRCode('myQrcode',{
- // text: 'https://oapi.shpr.top?id='+_self.data.codeId,
+ // text: 'https://oapi.shpr.top?id=Bg5740r78w',
text: 'https://oapi.shpr.top?id='+_self.data.codeId,
width: 150,
height:150,
@@ -25,7 +25,7 @@ Page({
let id = util.getQueryVariable('id',url);
if(id) {
_self.setData({
- codeId:options.id,
+ codeId:id,
//根据codeId查出该活动是否过期
_self.getShareActivityCode(id);
@@ -34,7 +34,7 @@
"name": "pages/receiveCoupon/receiveCoupon",
"pathName": "pages/receiveCoupon/receiveCoupon",
"query": "",
- "scene": 1011
+ "scene": 1013
}
]