123456789101112131415161718192021222324252627282930313233343536373839 |
- const node_dev = process.env.H_NODE_ENV;
- //运行到浏览器用的
- // 64
- // let baseUrl='https://wx.hw.hongweisoft.com/parking';
- // let upFileUrl='https://wx.hw.hongweisoft.com/ycpharmacy/file/upload/single/minio';
- // 正式
- let baseUrl='https://admin.pdzhtc.com/pudprod-api';
- let upFileUrl='https://admin.pdzhtc.com/pudprod-api/file/tencent/upload';
- //打包用的
- 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
- }
|