From 62ac46f867010ede4f68fcf22afa6cddc199da0d Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 13 May 2021 14:25:24 +0800 Subject: [PATCH] api --- src/utils/api.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/utils/api.js b/src/utils/api.js index e52b42b..e2c6df1 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -7,15 +7,12 @@ let uploadURL = 'http://8.134.8.197:8001' let host = '' -let host1 = '' if(process.env.NODE_ENV === 'development'){ - host1 = 'http://122.9.154.146' - host = 'http://192.168.31.152:9090'//榕 - host = 'http://192.168.31.125:9090'//林 + host = 'http://122.9.154.146' } export default { - logins: `${host1}/liuwanr/userInfo/adminLogins`, //登录 + logins: `${host}/liuwanr/userInfo/adminLogins`, //登录 fileupload: `${uploadURL}/oss/manage/fileupload`, updateLogInNumber: `${host}/liuwanr/userInfo/updateLogInNumber`, //用户登录修改登录次数和登陆时间 @@ -85,7 +82,7 @@ export default { getInvitationCode: `${host}/evaluation/tms/exp/getInvitationCode`, //查询邀请码是否存在 expInfo1: `${host}/evaluation/tms/exp/upload`, //实验教学提前结束 - queryAllManagements: `${host1}/project/ProjectManagement/queryAllManagementsByKD`, //项目管理列表信息 + queryAllManagements: `${host}/project/ProjectManagement/queryAllManagementsByKD`, //项目管理列表信息 queryManagements: `${host}/project/ProjectManagement/KDqueryManagements`, //项目管理列表信息 addRole: `${host}/project/ProjectManagement/addRole`, //新增案例对象 avgValues: `${host}/project/ProjectManagement/avgValues`, //平均分配分值