|
@@ -5,15 +5,18 @@
|
|
|
*/
|
|
|
const node_dev = process.env.H_NODE_ENV;
|
|
|
let baseUrl = 'https://wx.hw.hongweisoft.com/parking',
|
|
|
- wxAppid = 'wx6e9cdf7a0ee8a51b';
|
|
|
+ wxAppid = 'wx6e9cdf7a0ee8a51b';
|
|
|
console.log(process.env.H_BASE_URL);
|
|
|
if (node_dev) {
|
|
|
- (baseUrl = process.env.H_BASE_URL), (wxAppid = process.env.H_WXAPPID);
|
|
|
+ (baseUrl = process.env.H_BASE_URL), (wxAppid = process.env.H_WXAPPID);
|
|
|
}
|
|
|
export const config = {
|
|
|
- wxAppid,
|
|
|
- baseUrl,
|
|
|
- onlyWxLogin: ['pages/parkingLock/parkingLock', 'pages/wechatLogin/wechatLogin',
|
|
|
- 'pages/VehicleInquiry/VehicleInquiry'
|
|
|
- ] // 只需要微信登录的页面路径
|
|
|
-};
|
|
|
+ wxAppid,
|
|
|
+ baseUrl,
|
|
|
+ onlyWxLogin: [
|
|
|
+ 'pages/parkingLock/parkingLock',
|
|
|
+ 'pages/wechatLogin/wechatLogin',
|
|
|
+ 'pages/VehicleInquiry/VehicleInquiry',
|
|
|
+ 'pages/OnsitePayment/OnsitePayment'
|
|
|
+ ] // 只需要微信登录的页面路径
|
|
|
+};
|