Showing
2 changed files
with
5 additions
and
5 deletions
| @@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
| 28 | "appid": "wxd3dc4206c76f14fc", | 28 | "appid": "wxd3dc4206c76f14fc", |
| 29 | "projectname": "c%E7%AB%AF%E9%A2%84%E5%AE%9A", | 29 | "projectname": "c%E7%AB%AF%E9%A2%84%E5%AE%9A", |
| 30 | "isGameTourist": false, | 30 | "isGameTourist": false, |
| 31 | - "simulatorType": "qywx_simulator_plugin", | 31 | + "simulatorType": "wechat", |
| 32 | "simulatorPluginLibVersion": { | 32 | "simulatorPluginLibVersion": { |
| 33 | "qywx_simulator_plugin": "2.4.0" | 33 | "qywx_simulator_plugin": "2.4.0" |
| 34 | }, | 34 | }, |
| @@ -280,14 +280,14 @@ function msgSecCheck(host,params){ | @@ -280,14 +280,14 @@ function msgSecCheck(host,params){ | ||
| 280 | 'content-type': 'application/x-www-form-urlencoded' | 280 | 'content-type': 'application/x-www-form-urlencoded' |
| 281 | }, | 281 | }, |
| 282 | success: res => { | 282 | success: res => { |
| 283 | - if(res.data.data.errcode==0){ | ||
| 284 | - success() | ||
| 285 | - }else{ | 283 | + if(res.data.data.errcode=='87014'){ |
| 286 | fail() | 284 | fail() |
| 285 | + }else{ | ||
| 286 | + success() | ||
| 287 | } | 287 | } |
| 288 | }, | 288 | }, |
| 289 | fail: res => { | 289 | fail: res => { |
| 290 | - fail() | 290 | + success() |
| 291 | }, | 291 | }, |
| 292 | complete:res=>{ | 292 | complete:res=>{ |
| 293 | wx.hideLoading(); | 293 | wx.hideLoading(); |
-
Please register or login to post a comment