xiaodai2022 пре 2 година
родитељ
комит
90a735c6a3
3 измењених фајлова са 22 додато и 1 уклоњено
  1. 1 0
      package.json
  2. 1 1
      src/config/env.staging.js
  3. 20 0
      src/config/env.testing.js

+ 1 - 0
package.json

@@ -8,6 +8,7 @@
     "lint": "eslint --ext .js,.vue src",
     "build:prod": "vue-cli-service build --mode production",
     "build:stage": "vue-cli-service build --mode staging",
+    "build:test": "vue-cli-service build --mode test",
     "build:dev": "vue-cli-service build --mode development",
     "preview": "node build/index.js --preview",
     "new": "plop",

+ 1 - 1
src/config/env.staging.js

@@ -6,7 +6,7 @@ module.exports = {
     // baseApi: 'http://inv.sitw.wanyuhengtong.com/',
     // baseApi: 'http://inv.sit.wanyuhengtong.com/',
     // baseApi: 'http://inv.test241.wanyuhengtong.com/',
-    baseApi: 'http://caixiao.sitw.wanyuhengtong.com/',
+    baseApi: 'http://cxinv.test241.wanyuhengtong.com/',
     testApi: 'http://inv.test241.wanyuhengtong.com/',
   },
   fileURL: `https://api2.edusit.zretchome.com`,

+ 20 - 0
src/config/env.testing.js

@@ -0,0 +1,20 @@
+// 正式环境
+module.exports = {
+  title: '采销平台结算系统',
+  baseUrl: 'http://wx.wxhr.sit.futurelab.tv',
+  api: {
+    // baseApi: 'http://inv.sitw.wanyuhengtong.com/',
+    // baseApi: 'http://inv.sit.wanyuhengtong.com/',
+    // baseApi: 'http://inv.test241.wanyuhengtong.com/',
+    baseApi: 'http://caixiao.sitw.wanyuhengtong.com/',
+    testApi: 'http://inv.test241.wanyuhengtong.com/',
+  },
+  fileURL: `https://api2.edusit.zretchome.com`,
+  appId: 'wx5ac3a2c2d72b6f26',
+  ding: {
+    //企业id
+    CorpId: "dingc78fa4301e1a424a35c2f4657eb6378f",
+    //应用凭证
+    AgentId: "1184953963"
+  }
+}