|
@@ -7,19 +7,13 @@ if(pathname === '/' || pathname === "/postcheck") {
|
7
|
7
|
}
|
8
|
8
|
export const getBaseUrl = () => {
|
9
|
9
|
const type = window.localStorage.getItem("isPathType")
|
10
|
|
- // 阿里云IP
|
11
|
|
- const url = type === 1 ? 'http://39.106.66.72:8180' : 'http://39.106.66.72:8180';
|
12
|
|
- // const url = type == 1 ? 'http://192.168.3.200:8180' : 'http://192.168.3.200:8180';
|
13
|
|
-
|
14
|
|
- // 内控开发IP
|
15
|
|
- // const url = type === 1 ? 'http://10.152.164.68:8180' : 'http://10.152.164.68:8180';
|
16
|
|
- // const url = type === 1 ? 'http://10.152.164.69:8180' : 'http://10.152.164.69:8180';
|
17
|
|
-
|
18
|
|
- // 惠州石化服务器IP
|
19
|
|
- // const url = type == 1 ? 'http://10.152.72.5:8180' : 'http://10.152.72.5:8180';
|
|
10
|
+ // 惠州石化服务器IP-生产
|
|
11
|
+ const url = type === 1 ? 'http://10.152.72.7:8180' : 'http://10.152.72.7:8180';
|
20
|
12
|
|
|
13
|
+ // 阿里云IP
|
|
14
|
+ // const url = type === 1 ? 'http://101.42.248.108:17005' : 'http://101.42.248.108:17005';
|
21
|
15
|
// 开发本机
|
22
|
|
- // const url = type == 1 ? 'http://localhost:8180' : 'http://localhost:8180';
|
|
16
|
+ // const url = type === 1 ? 'http://127.0.0.1:8180' : 'http://127.0.0.1:8180';
|
23
|
17
|
|
24
|
18
|
return url
|
25
|
19
|
}
|