Commit 1c095855 authored by yun's avatar yun

考试系统地址修改

parent f36c8d9a
...@@ -5,7 +5,7 @@ ENV = 'production' ...@@ -5,7 +5,7 @@ ENV = 'production'
VUE_APP_BASE_API = '/api/education/v1' VUE_APP_BASE_API = '/api/education/v1'
VUE_APP_BASE_API2 = '' VUE_APP_BASE_API2 = ''
# 考试系统地址 # 考试系统地址
VUE_APP_BASE_API3 = 'http://192.168.5.161:7044' VUE_APP_BASE_API3 = 'http://192.168.5.191:7044'
# 手机端前台地址 # 手机端前台地址
VUE_APP_BASE_API4 = 'http://192.168.5.54/education-mobile' VUE_APP_BASE_API4 = 'http://192.168.5.54/education-mobile'
# 不走网关的后台地址 # 不走网关的后台地址
......
...@@ -15,7 +15,7 @@ const formData = function(data) { ...@@ -15,7 +15,7 @@ const formData = function(data) {
service = axios.create({ service = axios.create({
baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url baseURL: process.env.VUE_APP_BASE_API, // url = base url + request url
// withCredentials: true, // send cookies when cross-domain requests // withCredentials: true, // send cookies when cross-domain requests
timeout: 60000, // request timeout timeout: 20 * 60 * 1000, // request timeout
headers: {'clientType': 'app'} headers: {'clientType': 'app'}
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment