From 74c1cfad5a7dbad82425e2baae2e0136d0fb71ea Mon Sep 17 00:00:00 2001 From: yerz123 Date: Sat, 14 May 2022 19:08:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BA=E5=AE=9A=E4=BA=8C=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/distributePoster/index.js | 3 ++- pages/distribute/storePoster/index.js | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/components/distributePoster/index.js b/components/distributePoster/index.js index 130a77c..45675f7 100644 --- a/components/distributePoster/index.js +++ b/components/distributePoster/index.js @@ -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) }) diff --git a/pages/distribute/storePoster/index.js b/pages/distribute/storePoster/index.js index 3f13a47..e072393 100644 --- a/pages/distribute/storePoster/index.js +++ b/pages/distribute/storePoster/index.js @@ -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', })