Browse Source

添加环境

zhangwf 5 years ago
parent
commit
56ae74e8da
3 changed files with 12 additions and 7 deletions
  1. 9 4
      package-lock.json
  2. 1 1
      package.json
  3. 2 2
      src/util/appConst.js

+ 9 - 4
package-lock.json

@@ -4795,7 +4795,8 @@
         "ansi-regex": {
           "version": "2.1.1",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "aproba": {
           "version": "1.2.0",
@@ -5210,7 +5211,8 @@
         "safe-buffer": {
           "version": "5.1.1",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "safer-buffer": {
           "version": "2.1.2",
@@ -5266,6 +5268,7 @@
           "version": "3.0.1",
           "bundled": true,
           "dev": true,
+          "optional": true,
           "requires": {
             "ansi-regex": "^2.0.0"
           }
@@ -5309,12 +5312,14 @@
         "wrappy": {
           "version": "1.0.2",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         },
         "yallist": {
           "version": "3.0.2",
           "bundled": true,
-          "dev": true
+          "dev": true,
+          "optional": true
         }
       }
     },

+ 1 - 1
package.json

@@ -2,7 +2,7 @@
   "name": "h5maker",
   "version": "1.0.0",
   "description": "h5编辑器",
-  "author": "郑国榕 <zhengguorong@bluemoon.com.cn>",
+  "author": "",
   "private": true,
   "scripts": {
     "build": "node build/build.js",

+ 2 - 2
src/util/appConst.js

@@ -9,10 +9,10 @@ if (process.env.NODE_ENV === 'production') {
   // QINIU_DOMAIN = 'https://dm-api.elab-plus.cn'
   // TOUFANGBAO_PATH = 'https://dm-mng.elab-plus.cn/touFangBao/#/pages/preview?mgid='
   //测试
-  BACKEND_DOMAIN = 'http://106.15.201.221:9998'
+  BACKEND_DOMAIN = 'http://gatewaytest.elab-plus.com/elab-diaoyanbao/'
   QINIU_DOMAIN = 'https://gatewaytest.elab-plus.com'
   TOUFANGBAO_PATH = 'http://h5test.elab-plus.com/touFangBao/#/pages/preview?mgid='
-  DIAOYANBAO_PATH = 'http://192.168.4.249:8080/#/preview?mgid='
+  DIAOYANBAO_PATH = 'https://dm-mng3.elab-plus.cn/diaoyanbao/#/preview?mgid='
 } else if (process.env.NODE_ENV === 'development') {
   BACKEND_DOMAIN = 'http://192.168.0.16:5318'
   // QINIU_DOMAIN = 'http://139.196.5.59:5555'