@@ -1,9 +1,9 @@ | |||||
var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; | var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; | ||||
var appId = extConfig.appId; | var appId = extConfig.appId; | ||||
var config = { | var config = { | ||||
// url: "https://ciformall.youlane.cn/C/api", | |||||
url: "https://ciformall.youlane.cn/C/api", | |||||
// url:"https://c.malls.iformall.com/C/api", | // url:"https://c.malls.iformall.com/C/api", | ||||
url:'https://ctest.malls.iformall.com/C/api', | |||||
// url:'https://ctest.malls.iformall.com/C/api', | |||||
// url:'http://10.100.33.70:7000/C/api', | // url:'http://10.100.33.70:7000/C/api', | ||||
// url: 'http://202.165.179.86:4000/C/api', | // url: 'http://202.165.179.86:4000/C/api', | ||||
api: { | api: { | ||||
@@ -217,11 +217,9 @@ var config = { | |||||
*/ | */ | ||||
getPressOrderStatus:"/press/getPressOrderStatus" | getPressOrderStatus:"/press/getPressOrderStatus" | ||||
}, | }, | ||||
weapp: { | weapp: { | ||||
AppId: "wx649b3be73c1afe47" | |||||
AppId: "wxea71200db93d756b" | |||||
}, | }, | ||||
ErrorCode: { | ErrorCode: { | ||||
NICK_NOT_AUTH: 11004, | NICK_NOT_AUTH: 11004, | ||||
PHONE_NOT_AUTH: 11005, | PHONE_NOT_AUTH: 11005, | ||||
@@ -1,8 +1,59 @@ | |||||
{ | { | ||||
"extEnable": true, | "extEnable": true, | ||||
"extAppid": "wxea71200db93d756b", | |||||
"extAppid": "wxf9c4501a76931b33", | |||||
"ext": { | "ext": { | ||||
"appId": "wxea71200db93d756b" | |||||
"appId": "wxea71200db93d756b", | |||||
"name": "富茂客官开发", | |||||
"attr": { | |||||
"configUrl":[ | |||||
{ | |||||
"url01":"https://ciformall.youlane.cn/C/api" | |||||
}, | |||||
{ | |||||
"url02": "https://c.malls.iformall.com/C/api" | |||||
}, | |||||
{ | |||||
"url03": "https://ctest.malls.iformall.com/C/api" | |||||
}, | |||||
], | |||||
"weappId":"wxea71200db93d756b", | |||||
/** | |||||
停车小程序的的appId | |||||
releaseAppId:停车生产小程序 | |||||
developAppId:停车测试小程序 | |||||
**/ | |||||
"passCarAppId": [ | |||||
{"releaseAppId":"wxc07f9d67923d676d"}, | |||||
{"developAppId":"wx192b7d2e8dcbefd0"} | |||||
], | |||||
/** | |||||
该商场是否开通停车 | |||||
haveCarModular:开通 | |||||
nothaveCarModular:不开通 | |||||
**/ | |||||
"passCarPath": [ | |||||
{ | |||||
"haveCarModular": "pages/passCar/passCar" | |||||
}, | |||||
{ | |||||
"nothaveCarModular": "pages/cartest/cartest" | |||||
} | |||||
], | |||||
/** | |||||
停车的回调 | |||||
**/ | |||||
"passCarreturnUrl":[ | |||||
{ | |||||
"returnUrl1": "https://ciformall.youlane.cn/api/carCallback/etcpPaidCallback" | |||||
}, | |||||
{ | |||||
"returnUrl2": "https://c.malls.iformall.com/api/carCallback/etcpPaidCallback", | |||||
}, | |||||
{ | |||||
"returnUrl3": "https://ctest.malls.iformall.com/api/carCallback/etcpPaidCallback", | |||||
}, | |||||
], | |||||
} | |||||
}, | }, | ||||
"directCommit": false, | "directCommit": false, | ||||
"tabBar": { | "tabBar": { | ||||
@@ -557,7 +557,7 @@ Page({ | |||||
syncId: res.data.orderId, | syncId: res.data.orderId, | ||||
payType: 6, // 小程序支付 | payType: 6, // 小程序支付 | ||||
CarNumber: carNumber, | CarNumber: carNumber, | ||||
returnUrl: "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback", | |||||
returnUrl: "https://ciformall.youlane.cn/api/carCallback/etcpPaidCallback", | |||||
source: "FUMAO-001", | source: "FUMAO-001", | ||||
actionId: "1" //操作ID,1:小程序支付 | actionId: "1" //操作ID,1:小程序支付 | ||||
} | } | ||||
@@ -572,11 +572,9 @@ Page({ | |||||
}) | }) | ||||
}) | }) | ||||
.catch(error => { | .catch(error => { | ||||
console.log(error) | |||||
wx.showModal({ | |||||
title: '提示', | |||||
content: error.message, | |||||
showCancel: false | |||||
wx.showToast({ | |||||
title: error.message, | |||||
icon:"none" | |||||
}) | }) | ||||
that.setData({ | that.setData({ | ||||
stopFees: {}, | stopFees: {}, | ||||
@@ -13,7 +13,7 @@ | |||||
}, | }, | ||||
"compileType": "miniprogram", | "compileType": "miniprogram", | ||||
"libVersion": "2.0.9", | "libVersion": "2.0.9", | ||||
"appid": "wx649b3be73c1afe47", | |||||
"appid": "wxea71200db93d756b", | |||||
"projectname": "C", | "projectname": "C", | ||||
"isGameTourist": false, | "isGameTourist": false, | ||||
"condition": { | "condition": { | ||||