|
@@ -1,20 +1,31 @@
|
|
|
|
|
|
* 配置通用
|
|
|
*/
|
|
|
-const node_dev = process.env.H_NODE_ENV;
|
|
|
-
|
|
|
-let baseUrl='/api';
|
|
|
-let upFileUrl='/api';
|
|
|
-
|
|
|
-if (node_dev) {
|
|
|
- baseUrl = process.env.H_BASE_URL;
|
|
|
- upFileUrl = process.env.H_UP_FILE_URL
|
|
|
-}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+let baseUrl='https://xusapi.gzxsjt.cn/appapi/app';
|
|
|
+let upFileUrl='https://xusapi.gzxsjt.cn/thirdapi/upload/single/minio';
|
|
|
+let staticUrl='http://res.gzxsjt.cn/xushuo/';
|
|
|
+
|
|
|
const commonConfig = {
|
|
|
wxAppid: '',
|
|
|
- baseUrl: 'https://xusfoodapi.hw.hongweisoft.com/appapi/app',
|
|
|
- uploadFileUrl: 'http://fileupload.hw.hongweisoft.com/upload/single/minio',
|
|
|
- staticUrl:'http://res.hw.hongweisoft.com/xushuo/',
|
|
|
+ baseUrl: baseUrl,
|
|
|
+ uploadFileUrl: upFileUrl,
|
|
|
+ staticUrl:staticUrl,
|
|
|
paginationConfig:{
|
|
|
pageNum: 1,
|
|
|
pageSize: 10
|