diff --git a/config/config.js b/config/config.js index 471ef0a..ec73d1c 100755 --- a/config/config.js +++ b/config/config.js @@ -2,8 +2,8 @@ var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; var appId = extConfig.appId; var config = { // url: "https://ciformall.youlane.cn/C/api", - url:"https://c.malls.iformall.com/C/api", - // url:'https://ctest.malls.iformall.com/C/api', + // url:"https://c.malls.iformall.com/C/api", + url:'https://ctest.malls.iformall.com/C/api', // url:'http://10.100.33.68:7000/C/api', // url: 'http://202.165.179.86:4000/C/api', api: { @@ -203,7 +203,7 @@ var config = { }, weapp: { - AppId: "wx30caec1cc16c4634" + AppId: "wx649b3be73c1afe47" }, ErrorCode: { diff --git a/pages/order/detail/index.wxss b/pages/order/detail/index.wxss index 1546101..0b8a613 100644 --- a/pages/order/detail/index.wxss +++ b/pages/order/detail/index.wxss @@ -25,7 +25,7 @@ page { } .merchantName { - color: #999; + color: #666!important; } .tips text:nth-child(2) { diff --git a/pages/scanPay/scanPay.js b/pages/scanPay/scanPay.js index be18dbf..aac5a4d 100644 --- a/pages/scanPay/scanPay.js +++ b/pages/scanPay/scanPay.js @@ -55,13 +55,15 @@ Page({ let that = this; const startSoterAuthentication = () => { wx.startSoterAuthentication({ - requestAuthModes: [AUTH_MODE], + requestAuthModes: ["fingerPrint"], challenge: 'test', authContent: '请验证已有的指纹以继续', success: (res) => { + console.log(res) that.gotoPay() }, fail: (err) => { + console.log(err); wx.hideLoading(); that.setData({ showModel: false, @@ -69,6 +71,10 @@ Page({ ids: "", remainingAmount: that.data.remainingAmounts }) + if(err.errCode==90008||err.errCode == 90009){ + }else{ + that.gotoPay(); + } } }) } @@ -94,9 +100,9 @@ Page({ if (res.supportMode == []) { that.gotoPay(); } else if (res.supportMode == ['fingerPrint']) { - checkIsEnrolled() + checkIsEnrolled(); } else if (res.supportMode = ['fingerPrint', 'facial']) { - checkIsEnrolled() + checkIsEnrolled(); } }, fail: (err) => { diff --git a/project.config.json b/project.config.json index 2ff403f..8a03963 100644 --- a/project.config.json +++ b/project.config.json @@ -13,7 +13,7 @@ }, "compileType": "miniprogram", "libVersion": "2.0.9", - "appid": "wx30caec1cc16c4634", + "appid": "wx649b3be73c1afe47", "projectname": "C", "isGameTourist": false, "condition": {