diff --git a/app.js b/app.js index 071098f..679502a 100644 --- a/app.js +++ b/app.js @@ -1,6 +1,6 @@ //app.js App({ - evn: 2, // 0: 开发版本;1:测试版本;2:生产版本 + evn: 1, // 0: 开发版本;1:测试版本;2:生产版本 tmplIds: ['AFoM5TOfsgERsfcetNSB0UlmEixnLF1ySXr54Bqno2M', 'lOQ8Gvyy_dTk68bYGpRVnVA0M7DsYYrV81Gd39GUPBA'], version: '2.4.0', xAppId: '503258978847953926', diff --git a/pages/home/qrcode-info/index.js b/pages/home/qrcode-info/index.js index 517a09b..94d4d0e 100644 --- a/pages/home/qrcode-info/index.js +++ b/pages/home/qrcode-info/index.js @@ -27,11 +27,10 @@ Scene({ if(!util.isEmpty(options.type)){ this.data.type = Number(options.type) } + this.showQrCode(`${qrUrl}?mark=ztb_saas&type=${this.data.type}&factoryId=${app.userInfo.factoryId}&customerId=${this.data.id}`) if(this.data.type == 0){ - this.showQrCode(`${qrUrl}?mark=ztb_saas&type=${this.data.type}&factoryId=${app.userInfo.factoryId}&customerId=${this.data.id}`) this.fetchCustomerInfo() } else if(this.data.type == 1){ - this.showQrCode(`${qrUrl}?mark=ztb_saas&type=${this.data.type}&factoryId=${app.userInfo.factoryId}&customerId=${this.data.id}`) let channel = this.getOpenerEventChannel() let that = this channel.once('onParam', function (data) {