Sfoglia il codice sorgente

普定测试环境接口修改

gcz 2 settimane fa
parent
commit
128f11d0fc
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      common/config.js
  2. 1 1
      package.json
  3. 1 1
      vue.config.js

+ 1 - 1
common/config.js

@@ -4,7 +4,7 @@
  * 只有在打包环境下才会有H_NODE_ENV
  */
 const node_dev = process.env.H_NODE_ENV;
-let baseUrl = 'https://wx.dev.dazesoft.cn/parking', // 默认为普定测试环境
+let baseUrl = 'https://parkingadmin.dev.dazesoft.cn/pudprod-api', // 默认为普定测试环境
   // wxAppid = 'wx6e9cdf7a0ee8a51b', // 默认为达泽公众号appid
   wxAppid = 'wx45c3cf2b632f5fd5', // 默认为普定正式appid
   projectFlag = 'puding';

+ 1 - 1
package.json

@@ -6,7 +6,7 @@
 				"env": {
 					"UNI_PLATFORM": "h5",
 					"H_NODE_ENV": "development",
-					"H_BASE_URL": "https://wx.dev.dazesoft.cn/parking",
+					"H_BASE_URL": "https://parkingadmin.dev.dazesoft.cn/pudprod-api",
 					"H_WXAPPID": "wx45c3cf2b632f5fd5",
 					"DESCRIBE": "普定测试环境",
 					"H_PROJECT": "puding",

+ 1 - 1
vue.config.js

@@ -7,7 +7,7 @@ module.exports = {
       https: false,
       proxy: {
         '/api': {
-          target: 'https://wx.dev.dazesoft.cn/parking/',
+          target: 'https://parkingadmin.dev.dazesoft.cn/pudprod-api/',
           changeOrigin: true,
           pathRewrite: {
             '^/api': ''