Ver Fonte

达泽域名更改

gcz há 8 meses atrás
pai
commit
e52c699ff7
3 ficheiros alterados com 10 adições e 10 exclusões
  1. 6 6
      common/config.js
  2. 1 1
      manifest.json
  3. 3 3
      package.json

+ 6 - 6
common/config.js

@@ -3,9 +3,9 @@
  */
 const node_dev = process.env.H_NODE_ENV;
 //运行到浏览器用的
-let baseUrl='https://xusfoodapi.hw.hongweisoft.com/appapi/app';
-let upFileUrl='https://xusfoodapi.hw.hongweisoft.com/appapi/app';
-let staticUrl='http://res.hw.hongweisoft.com/xushuo/';
+let baseUrl='https://xusfoodapi.dev.dazesoft.cn/appapi/app';
+let upFileUrl='https://xusfoodapi.dev.dazesoft.cn/appapi/app';
+let staticUrl='http://res.dev.dazesoft.cn/xushuo/';
 //打包用的
 if (node_dev) {
  baseUrl = process.env.H_BASE_URL;
@@ -14,9 +14,9 @@ if (node_dev) {
 }
 
 //64
-// let baseUrl='https://xusfoodapi.hw.hongweisoft.com/appapi/app';
-// let upFileUrl='http://fileupload.hw.hongweisoft.com/upload/single/minio';
-// let staticUrl='http://res.hw.hongweisoft.com/xushuo/';
+// let baseUrl='https://xusfoodapi.dev.dazesoft.cn/appapi/app';
+// let upFileUrl='http://fileupload.dev.dazesoft.cn/upload/single/minio';
+// let staticUrl='http://res.dev.dazesoft.cn/xushuo/';
 
 //正式
 // let baseUrl='https://xusapi.gzxsjt.cn/appapi/app';

+ 1 - 1
manifest.json

@@ -82,7 +82,7 @@
         "devServer" : {
             "proxy" : {
                 "/api" : {
-                    "target" : "https://xusfoodapi.hw.hongweisoft.com/appapi/app", //请求的目标域名
+                    "target" : "https://xusfoodapi.dev.dazesoft.cn/appapi/app", //请求的目标域名
                     "changeOrigin" : true,
                     "secure" : false,
                     "pathRewrite" : {

+ 3 - 3
package.json

@@ -6,9 +6,9 @@
         "env": {
           "UNI_PLATFORM": "h5",
           "H_NODE_ENV": "development",
-          "H_BASE_URL": "https://xusfoodapi.hw.hongweisoft.com/appapi",
-          "H_UP_FILE_URL": "https://xusfoodapi.hw.hongweisoft.com/appapi",
-		  "H_STATIC_FILE_URL": "http://res.hw.hongweisoft.com/xushuo/"
+          "H_BASE_URL": "https://xusfoodapi.dev.dazesoft.cn/appapi",
+          "H_UP_FILE_URL": "https://xusfoodapi.dev.dazesoft.cn/appapi",
+		  "H_STATIC_FILE_URL": "http://res.dev.dazesoft.cn/xushuo/"
         }
       },
       "build:buildOnline": {