yujialong 4 years ago
parent 5facca7f36
commit 62ac46f867
  1. 9
      src/utils/api.js

@ -7,15 +7,12 @@
let uploadURL = 'http://8.134.8.197:8001' let uploadURL = 'http://8.134.8.197:8001'
let host = '' let host = ''
let host1 = ''
if(process.env.NODE_ENV === 'development'){ if(process.env.NODE_ENV === 'development'){
host1 = 'http://122.9.154.146' host = 'http://122.9.154.146'
host = 'http://192.168.31.152:9090'//榕
host = 'http://192.168.31.125:9090'//林
} }
export default { export default {
logins: `${host1}/liuwanr/userInfo/adminLogins`, //登录 logins: `${host}/liuwanr/userInfo/adminLogins`, //登录
fileupload: `${uploadURL}/oss/manage/fileupload`, fileupload: `${uploadURL}/oss/manage/fileupload`,
updateLogInNumber: `${host}/liuwanr/userInfo/updateLogInNumber`, //用户登录修改登录次数和登陆时间 updateLogInNumber: `${host}/liuwanr/userInfo/updateLogInNumber`, //用户登录修改登录次数和登陆时间
@ -85,7 +82,7 @@ export default {
getInvitationCode: `${host}/evaluation/tms/exp/getInvitationCode`, //查询邀请码是否存在 getInvitationCode: `${host}/evaluation/tms/exp/getInvitationCode`, //查询邀请码是否存在
expInfo1: `${host}/evaluation/tms/exp/upload`, //实验教学提前结束 expInfo1: `${host}/evaluation/tms/exp/upload`, //实验教学提前结束
queryAllManagements: `${host1}/project/ProjectManagement/queryAllManagementsByKD`, //项目管理列表信息 queryAllManagements: `${host}/project/ProjectManagement/queryAllManagementsByKD`, //项目管理列表信息
queryManagements: `${host}/project/ProjectManagement/KDqueryManagements`, //项目管理列表信息 queryManagements: `${host}/project/ProjectManagement/KDqueryManagements`, //项目管理列表信息
addRole: `${host}/project/ProjectManagement/addRole`, //新增案例对象 addRole: `${host}/project/ProjectManagement/addRole`, //新增案例对象
avgValues: `${host}/project/ProjectManagement/avgValues`, //平均分配分值 avgValues: `${host}/project/ProjectManagement/avgValues`, //平均分配分值

Loading…
Cancel
Save