1234567891011121314151617181920212223242526272829303132333435 |
- const node_dev = process.env.H_NODE_ENV;
- //运行到浏览器用的
- let baseUrl='https://wx.hw.hongweisoft.com/parking/inspection';
- let upFileUrl='https://wx.hw.hongweisoft.com/ycpharmacy/file/upload/single/minio';
- //打包用的
- if (node_dev) {
- baseUrl = process.env.H_BASE_URL;
- upFileUrl = process.env.H_UP_FILE_URL
- }
- console.log('baseUrl',baseUrl);
- const config = {
- // wxAppid:'wxbe90cc7c5233dd84',// 测试wxAppid
-
- //#ifdef APP-PLUS
- platform:'app',
- //#endif
-
- //#ifdef H5
- platform:'h5',
- //#endif
-
- baseUrl:baseUrl,
- upFileUrl:upFileUrl,
-
- // 设备类型
- deviceTypeList:[
- {label:'全部类型',value:''},
- {label:'地磁',value:'1'},
- {label:'车位锁',value:'2'},
- {label:'道闸',value:'3'}
- ]
- }
- export {
- config
- }
|