diff --git a/src/utils/api.js b/src/utils/api.js index 527ae27..3e170fb 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -7,20 +7,13 @@ let uploadURL = 'http://8.134.8.197:8001' let host = '' -let host1 = '' if(process.env.NODE_ENV === 'development'){ - // host = 'http://122.9.154.146' - host1 = 'http://192.168.31.137:8090' - host = 'http://192.168.31.137:9090' + host = 'http://122.9.154.146' } export default { -<<<<<<< Updated upstream logins: `${host}/liuwanr/userInfo/adminLogins`, //登录 queryToken: `${host}/liuwanr/userInfo/queryToken`, -======= - logins: `${host1}/liuwanr/userInfo/adminLogins`, //登录 ->>>>>>> Stashed changes fileupload: `${uploadURL}/oss/manage/fileupload`, updateLogInNumber: `${host}/liuwanr/userInfo/updateLogInNumber`, //用户登录修改登录次数和登陆时间 @@ -29,10 +22,10 @@ export default { queryCity: `${host}/liuwanr/city/queryCity`, //查询城市 querySchoolData: `${host}/liuwanr/customer/querySchool`, //根据学校名称查询学校信息 - queryAccountIsExist:`${host1}/liuwanr/userInfo/queryAccountIsExist`,//查询员工,学生账号是否存在接口 + queryAccountIsExist:`${host}/liuwanr/userInfo/queryAccountIsExist`,//查询员工,学生账号是否存在接口 queryWorkNumberIsExist:`${host}/evaluation/tms/userInfo/queryWorkNumberIsExist`,//查询学号是否存在 queryWorkNumberIsExist1:`${host}/liuwanr/userInfo/queryWorkNumberIsExist`,//查询工号是否存在 - querySchool: `${host1}/liuwanr/customer/querySchool`, //根据学校名称查询学校信息 + querySchool: `${host}/liuwanr/customer/querySchool`, //根据学校名称查询学校信息 queryPersonalCenter:`${host}/liuwanr/personalCenter/queryPersonalCenter`, addStaffPro: `${host}/liuwanr/staffProfessionalArchitecture/addStaffProfessionalArchitecture`, //添加员工专业