Procházet zdrojové kódy

添加椰子线上临时地址

dujingxian před 4 roky
rodič
revize
9c25d39d42
2 změnil soubory, kde provedl 7 přidání a 10 odebrání
  1. 5 10
      src/api/index.js
  2. 2 0
      vue.config.js

+ 5 - 10
src/api/index.js

@@ -102,18 +102,10 @@ let requestLoading = (url, method, params) => {
     })
 };
 
-
-// const TestSrv = process.env.NODE_ENV == 'production' ? 'http://39.97.239.116:8080' : '/api';
-// const StanleyLocal = process.env.NODE_ENV == 'production' ? 'http://zngapi.hemadj.com:8080' : '/api';
-//const StanleyLocal = process.env.NODE_ENV == 'production' ? 'http://192.168.1.200:8080' : '/api';
-// const StanleyLocal = process.env.NODE_ENV == 'production' ? 'https://apizng.eavic.com' : '/api';
-// const StanleyLocal = process.env.NODE_ENV == 'production' ? 'http://39.97.239.116:8080' : '/api';
-
-// const Prefix = StanleyLocal;
-// const Prefix = 'http://192.168.1.195:8080/';
-
 const Prefix = 'http://192.168.1.195/mobile/index.php?';
 // const Prefix = 'https://www.xyzshops.cn/mobile/index.php?';
+// 椰子临时线上地址
+// const Prefix = 'http://121.89.196.45/mobile/index.php?';
 
 // 临时
 // const Prefix = 'https://39.103.134.17/mobile/index.php?';
@@ -302,7 +294,10 @@ export const updateVoucher = (name) => {
         method: "post",
         url: `http://192.168.1.195/upfile.php`,
         // url: `https://www.xyzshops.cn/upfile.php`,
+        // 琳珠
         // url: `http://121.89.212.167/upfile.php`,
+        // 椰子
+        // url: `http://121.89.196.45/upfile.php`,
         // withCredentials: true,
         data: name,
         timeout: 120000,

+ 2 - 0
vue.config.js

@@ -4,6 +4,8 @@ const targetUrl = 'http://192.168.1.195/'
 // 临时地址
 // const targetUrl = 'https://39.103.134.17/'
 // const targetUrl = 'http://121.89.212.167/'
+// 椰子临时线上
+// const targetUrl = 'http://121.89.196.45/'
 
 // const targetUrl = 'http://10.64.81.2:8080';