@zykjcommon/questions 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.production +1 -0
- package/.env.test +1 -0
- package/package.json +1 -1
- package/src/assets/js/http.js +1 -1
package/.env.production
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
BASE_URL = https://jsl-static.thedeer.cn/recruit-exam/
|
|
7
7
|
#VUE_APP_SERVER = https://jsl-api.thedeer.cn/education/
|
|
8
8
|
VUE_APP_SERVER = https://jsl-api.thedeer.cn/student-web/
|
|
9
|
+
VUE_APP_QUESTIONS_SERVER = https://jsl-api.thedeer.cn/student-web/
|
|
9
10
|
#正式环境地址
|
|
10
11
|
#https://jsl-exam.thedeer.cn/
|
|
11
12
|
|
package/.env.test
CHANGED
|
@@ -8,6 +8,7 @@ VUE_APP_FLAG = test
|
|
|
8
8
|
BASE_URL = https://pre-jsl-recruit-exam.thedeer.cn
|
|
9
9
|
#VUE_APP_SERVER = https://pre-api.thedeer.cn/education/
|
|
10
10
|
VUE_APP_SERVER = https://pre-api.thedeer.cn/student-web/
|
|
11
|
+
VUE_APP_QUESTIONS_SERVER = https://pre-api.thedeer.cn/student-web/
|
|
11
12
|
|
|
12
13
|
VUE_APP_ERROR_SERVER = https://pre-api.thedeer.cn
|
|
13
14
|
VUE_APP_ENV = 'pre'
|
package/package.json
CHANGED
package/src/assets/js/http.js
CHANGED
|
@@ -50,7 +50,7 @@ let createSign = function(method, URL, param, ClientTimestamp) {
|
|
|
50
50
|
/**
|
|
51
51
|
* 全局默认配置
|
|
52
52
|
*/
|
|
53
|
-
Axios.defaults.baseURL = process.env.
|
|
53
|
+
Axios.defaults.baseURL = process.env.VUE_APP_QUESTIONS_SERVER;
|
|
54
54
|
Axios.defaults.timeout = 60000;
|
|
55
55
|
Axios.defaults.withCredentials = true;
|
|
56
56
|
let transformRequest = (req, headers) => {
|