zhb hace 1 mes
padre
commit
ea962fb541
Se han modificado 1 ficheros con 7 adiciones y 6 borrados
  1. 7 6
      config/index.ts

+ 7 - 6
config/index.ts

@@ -2,12 +2,13 @@
 let [p, h] = [window.location.protocol, window.location.host];
 let isIP = /^\d+\.\d+\.\d+\.\d+:\d+$/.test(h);
 let [ho, dt] = isIP ? ['44a5c8109e4', 'com'] : h.split('.').slice(-2);
+// let [ho, dt] = isIP ? ['cwgvu', 'club'] : h.split('.').slice(-2);
 let ht = p == 'http:' ? 'https:' : p;
 console.log(ho, dt, ht, 1009);
 // #else
 let ht = 'https:';
-let ho = '44a5c8109e4'; // 默认主域名或可根据实际APP环境配置
-let dt = 'com'; // 默认域名后缀
+let ho = 'cwgvu'; // 默认主域名或可根据实际APP环境配置
+let dt = 'club'; // 默认域名后缀
 // #endif
 
 const config = {
@@ -17,10 +18,10 @@ const config = {
   Host00: ht + "//ucard." + ho + "." + dt,
   Host85: ht + "//ucard." + ho + "." + dt,
   Host04: ht + "//pay." + ho + "." + dt,
-  // Host80: 'http://192.168.0.25:8000',
-  // Host00: 'http://192.168.0.25:8000',
-  // Host85: 'http://192.168.0.25:8000',
-  // Host04: 'http://192.168.0.25:8004',
+  // Host80: 'http://192.168.0.21:8000',
+  // Host00: 'http://192.168.0.21:8000',
+  // Host85: 'http://192.168.0.21:8000',
+  // Host04: 'http://192.168.0.21:8004',
   Host90: ht + "//data." + ho + "." + dt,
   HostShop: ht + "//shopcustom." + ho + "." + dt,
   HostShopImg: ht + "//shopmanager." + ho + "." + dt,