Commit dccf0752 authored by zhangyichen's avatar zhangyichen

修改为测试环境

parent dbee35b8
......@@ -2,28 +2,28 @@
ENV = 'production'
VUE_APP_BASE_APIenv = 'production'
# 测试环境地址
# VUE_APP_BASE_API = '/api/education/v1'
# VUE_APP_BASE_API2 = ''
# 考试系统地址
# VUE_APP_BASE_API3 = 'http://192.168.5.161:7044'
# 手机端前台地址
# VUE_APP_BASE_API4 = 'http://192.168.5.54/education-mobile'
# 不走网关的后台地址
# VUE_APP_BASE_API5 = 'http://192.168.5.191:7043'
# 客户端前端地址
# VUE_APP_BASE_API6 = 'http://192.168.5.54/education-pc'
# 预上线环境地址
VUE_APP_BASE_API = '/api/education/v1'
VUE_APP_BASE_API2 = ''
# 考试系统地址
VUE_APP_BASE_API3 = 'https://zhixinstage.zhiguaniot.com/education-exam'
VUE_APP_BASE_API3 = 'http://192.168.5.161:7044'
# 手机端前台地址
VUE_APP_BASE_API4 = 'https://zhixinstage.zhiguaniot.com/education-mobile'
VUE_APP_BASE_API4 = 'http://192.168.5.54/education-mobile'
# 不走网关的后台地址
VUE_APP_BASE_API5 = 'https://zhixinstage.zhiguaniot.com/education'
VUE_APP_BASE_API5 = 'http://192.168.5.191:7043'
# 客户端前端地址
VUE_APP_BASE_API6 = 'https://zhixinstage.zhiguaniot.com/education-pc'
VUE_APP_BASE_API6 = 'http://192.168.5.54/education-pc'
# 预上线环境地址
# VUE_APP_BASE_API = '/api/education/v1'
# VUE_APP_BASE_API2 = ''
# # 考试系统地址
# VUE_APP_BASE_API3 = 'https://zhixinstage.zhiguaniot.com/education-exam'
# # 手机端前台地址
# VUE_APP_BASE_API4 = 'https://zhixinstage.zhiguaniot.com/education-mobile'
# # 不走网关的后台地址
# VUE_APP_BASE_API5 = 'https://zhixinstage.zhiguaniot.com/education'
# # 客户端前端地址
# VUE_APP_BASE_API6 = 'https://zhixinstage.zhiguaniot.com/education-pc'
......
......@@ -3,8 +3,7 @@ import axios from 'axios'
import Vue from 'vue'
// import store from '@/store'
console.log(process.env.VUE_APP_BASE_API1,'这是环境')
console.log(process.env.VUE_APP_BASE_APIenv,'这是环境')
const formData = function(data) {
const _formData = new FormData()
for (var i in data) {
......
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