优化智慧就业内容,功能完善。剩登录对接
This commit is contained in:
@@ -11,27 +11,15 @@ let filestore_site = "";
|
||||
// #ifdef MP-WEIXIN
|
||||
if (wx.getAccountInfoSync().miniProgram.envVersion === 'develop') {
|
||||
baseUrl = 'http://dev.51xuanxiao.com:8005/api' // 开发环境
|
||||
baseUrl1 = 'http://dev.51xuanxiao.com:8008/api' // 专业环境
|
||||
baseUrl2 = 'http://192.168.1.168:9002/api' // 院校环境
|
||||
baseUrl3 = 'http://dev.51xuanxiao.com:8007/api' // 职业环境
|
||||
baseUrl4 = 'http://dev.51xuanxiao.com:8009/api' // 用户环境
|
||||
baseUrl5 = 'http://dev.51xuanxiao.com:8006/api' // 测评环境
|
||||
|
||||
baseUrl6 = 'http://dev.51xuanxiao.com:8005' // 开发环境
|
||||
baseUrl7 = 'https://bapi.cnjzy.net/api' // 精志愿
|
||||
baseUrl8 = 'http://dev.51xuanxiao.com:8005/api' // 精志愿(新版本接口) 现在已迁移到 Career.YanXueApi
|
||||
filestore_site = 'http://192.168.1.168:31128' //文件地址
|
||||
} else {
|
||||
baseUrl = 'https://yanxueapi.51xuanxiao.com/api' // 生产环境
|
||||
baseUrl1 = "https://specialtyapi.51xuanxiao.com/api"// 专业环境
|
||||
baseUrl2 = "https://universityapi.51xuanxiao.com/api"// 院校环境
|
||||
baseUrl3 = "https://jobapi.51xuanxiao.com/api"// 职业环境
|
||||
baseUrl4 = "https://authapi.51xuanxiao.com/api"// 用户环境
|
||||
baseUrl5 = "https://testapi.51xuanxiao.com/api"// 测评环境
|
||||
|
||||
baseUrl6 = 'https://yanxueapi.51xuanxiao.com/' // 生产环境
|
||||
baseUrl7 = 'https://bapi.cnjzy.net/api' // 精志愿
|
||||
baseUrl8 = 'https://yanxueapi.51xuanxiao.com/api'// 精志愿(新版本接口)现在已迁移到 Career.YanXueApi
|
||||
filestore_site = 'https://filestore.plan.51xuanxiao.com' //文件地址
|
||||
}
|
||||
// #endif
|
||||
|
||||
@@ -69,7 +69,7 @@ request.globalRequest = (url, method, data, power, type) => {
|
||||
header: headers
|
||||
}).then(res => {
|
||||
//console.log("ressss===="+JSON.stringify(res.data));
|
||||
console.log("type===="+type);
|
||||
// console.log("type===="+type);
|
||||
if (type == 7) {
|
||||
if (res[1].data.code == 0) {
|
||||
return res[1].data
|
||||
|
||||
Reference in New Issue
Block a user