Commit 5972b557faa6a5e5acf94acfb4b92e7ef5b1c1af
1 parent
a50bbd27
add config.js 后台请求地址js
Showing
3 changed files
with
20 additions
and
19 deletions
js/config.js
0 → 100644
1 | +//阿里云正式环境,别删 | ||
2 | +// parkcloudbaseUrl ='http://bcp.service.renniting.cn/';// url公用地址 | ||
3 | +// authUrl = 'http://sys.service.renniting.cn/';// 鉴权URL公用地址 | ||
4 | +// baseUrl = 'http://sys.service.renniting.cn/';// 鉴权URL公用地址 | ||
5 | + | ||
6 | +//阿里云环境,别删 丹阳 | ||
7 | +// baseUrl='http://106.15.191.5:8088/' | ||
8 | +// parkcloudbaseUrl='http://106.15.191.5:8093/' | ||
9 | +// authUrl='http://106.15.191.5:8088/' | ||
10 | + | ||
11 | +//阿里云测试环境,别删 | ||
12 | + baseUrl = 'http://39.98.54.240:8088/';// url公用地址 | ||
13 | +// parkcloudbaseUrl = 'http://39.98.54.240:8093/';// url公用地址 | ||
14 | +// authUrl = 'http://39.98.54.240:8088/';// 鉴权URL公用地址 | ||
15 | + | ||
16 | +//demo环境,别删 | ||
17 | +// baseUrl = 'http://47.96.41.88:18088/';// url公用地址 | ||
18 | +// parkcloudbaseUrl = 'http://47.96.41.88:18093/';// url公用地址 | ||
19 | +// authUrl = 'http://47.96.41.88:18088/';// 鉴权URL公用地址 |
js/unit.js
@@ -8,25 +8,6 @@ sysComm = { | @@ -8,25 +8,6 @@ sysComm = { | ||
8 | clientType: 'WEB'//客户端类型 | 8 | clientType: 'WEB'//客户端类型 |
9 | } | 9 | } |
10 | 10 | ||
11 | -//阿里云正式环境,别删 | ||
12 | -// var parkcloudbaseUrl ='http://bcp.service.renniting.cn/';// url公用地址 | ||
13 | -// var authUrl = 'http://sys.service.renniting.cn/';// 鉴权URL公用地址 | ||
14 | -// var baseUrl = 'http://sys.service.renniting.cn/';// 鉴权URL公用地址 | ||
15 | - | ||
16 | -//阿里云环境,别删 丹阳 | ||
17 | -// var baseUrl='http://106.15.191.5:8088/' | ||
18 | -// var parkcloudbaseUrl='http://106.15.191.5:8093/' | ||
19 | -// var authUrl='http://106.15.191.5:8088/' | ||
20 | - | ||
21 | -//阿里云测试环境,别删 | ||
22 | -var baseUrl = 'http://39.98.54.240:8088/';// url公用地址 | ||
23 | -// var parkcloudbaseUrl = 'http://39.98.54.240:8093/';// url公用地址 | ||
24 | -// var authUrl = 'http://39.98.54.240:8088/';// 鉴权URL公用地址 | ||
25 | - | ||
26 | -//demo环境,别删 | ||
27 | -// var baseUrl = 'http://47.96.41.88:18088/';// url公用地址 | ||
28 | -// var parkcloudbaseUrl = 'http://47.96.41.88:18093/';// url公用地址 | ||
29 | -// var authUrl = 'http://47.96.41.88:18088/';// 鉴权URL公用地址 | ||
30 | 11 | ||
31 | var dataUrl = dataUrl || {}; | 12 | var dataUrl = dataUrl || {}; |
32 | 13 |
login.html
@@ -14,6 +14,7 @@ | @@ -14,6 +14,7 @@ | ||
14 | <link rel="stylesheet" href="css/common.css"> | 14 | <link rel="stylesheet" href="css/common.css"> |
15 | <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"> | 15 | <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"> |
16 | <link rel="stylesheet" href="css/login.css"> | 16 | <link rel="stylesheet" href="css/login.css"> |
17 | + <script src="js/config.js"></script> | ||
17 | <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> | 18 | <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> |
18 | </head> | 19 | </head> |
19 | <body class=" login"> | 20 | <body class=" login"> |