固定二维码
This commit is contained in:
@@ -107,7 +107,8 @@ Component({
|
||||
params['scene'] = this.data.qccodeid+'_'+app.getStorageByKey("userInfo").biz_id;
|
||||
params['width'] = 260;
|
||||
_.apiQuery.getMaterialHomeQrcode(params).then(res => {
|
||||
this.getImageInfo(res.data.url, 2)
|
||||
// this.getImageInfo(res.data.url, 2)
|
||||
this.getImageInfo('https://qs.haodian.cn/wechat_app/dongfeng/common/default-code.png', 2)
|
||||
}).catch(res => {
|
||||
//this.getImageInfo(this.data.defaultQrcode, 2)
|
||||
})
|
||||
|
||||
@@ -96,9 +96,9 @@ Page({
|
||||
params['scene'] = app.getStorageByKey("userInfo").biz_id;
|
||||
params['width'] = 260;
|
||||
_.apiQuery.getMaterialHomeQrcode(params).then(res => {
|
||||
this.setData({
|
||||
'poster.qrcode':res.data.url,
|
||||
})
|
||||
// this.setData({
|
||||
// 'poster.qrcode':res.data.url,
|
||||
// })
|
||||
this.setData({
|
||||
'poster.qrcode':'https://qs.haodian.cn/wechat_app/dongfeng/common/default-code.png',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user