|
|
@@ -4,21 +4,21 @@ let socketUrl = "";
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
|
// 开发环境
|
|
|
// baseUrl = "http://192.168.0.115:8080"; //屈晨
|
|
|
- baseUrl = "http://192.168.0.52:8080"; //贺礼霄
|
|
|
+ // baseUrl = "http://192.168.0.52:8080"; //贺礼霄
|
|
|
// baseUrl = "http://192.168.0.253:8080"; //田智
|
|
|
// baseUrl = "https://test.baoxianzhanggui.com/web-api"; //测试
|
|
|
// h5BaseUrl = "https://test.baoxianzhanggui.com/h5";
|
|
|
// baseUrl = "https://pre.baoxianzhanggui.com/web-api"; //预生产
|
|
|
// h5BaseUrl = "https://pre.baoxianzhanggui.com/h5";
|
|
|
// baseUrl = "https://pre.baoxianzhanggui.com/test"; //生产
|
|
|
- // baseUrl = "https://sxzgkj.baoxianzhanggui.com/web-api"; //生产
|
|
|
+ baseUrl = "https://sxzgkj.baoxianzhanggui.com/web-api"; //生产
|
|
|
h5BaseUrl = "https://sxzgkj.baoxianzhanggui.com/h5";
|
|
|
- // socketUrl = "wss://sxzgkj.baoxianzhanggui.com/web-api/websocket";
|
|
|
- socketUrl = "ws://192.168.0.52:8080/websocket";
|
|
|
+ socketUrl = "wss://sxzgkj.baoxianzhanggui.com/web-api/websocket";
|
|
|
+ // socketUrl = "wss://test.baoxianzhanggui.com/web-api/websocket";
|
|
|
} else if (process.env.NODE_ENV === 'production') {
|
|
|
// 生产环境
|
|
|
// baseUrl = "https://test.baoxianzhanggui.com/web-api"; //测试
|
|
|
- // h5BaseUrl = "https://test.baoxianzhanggui.com/h5";
|
|
|
+ // h5BaseUrl = "https://test.baoxianzhanggui.com/h5";s
|
|
|
// baseUrl = "https://pre.baoxianzhanggui.com/web-api"; //预生产
|
|
|
// h5BaseUrl = "https://pre.baoxianzhanggui.com/h5";
|
|
|
baseUrl = "https://sxzgkj.baoxianzhanggui.com/web-api"; //生产
|