接口前缀修改

dev
yujialong 3 years ago
parent ebd717f0c8
commit 2db626b9e0
  1. 115
      src/utils/api.js

@ -5,53 +5,52 @@ let host2 = 'http://192.168.31.125:9000'//林
let host3 = 'http://192.168.31.140:9000'//7
let host = 'http://192.168.31.137:9000'// 陈赓
export default {
logins: `${host}/users/user/login`, //登录
verification:`${host}/users/user/captcha`,// 验证码
logins: `${host}/users/users/user/login`, //登录
verification:`${host}/users/users/user/captcha`,// 验证码
// 订单管理
orderAdd:`${host}/nakadai/order/add`,// 订单添加
orderDelete:`${host}/nakadai/order/delete`,// 删除定单
orderDetail:`${host}/nakadai/order/get`,// 订单详情
orderList:`${host}/nakadai/order/list`,// 订单列表
orderUpdate:`${host}/nakadai/order/update`,// 订单更新
orderAdd:`${host}/nakadai/nakadai/order/add`,// 订单添加
orderDelete:`${host}/nakadai/nakadai/order/delete`,// 删除定单
orderDetail:`${host}/nakadai/nakadai/order/get`,// 订单详情
orderList:`${host}/nakadai/nakadai/order/list`,// 订单列表
orderUpdate:`${host}/nakadai/nakadai/order/update`,// 订单更新
queryAccountIsExist: `${host}/liuwanr/userInfo/queryServerAccountIsExist`, //查询账号是否存在
queryWorkNumberIsExist:`${host}/liuwanr/userInfo/queryWorkNumberIsExist`,//查询学号、工号是否存在
// 客户管理
delCustomers: `${host}/nakadai/customer/delCustomers`,
updateCustomer: `${host}/nakadai/customer/updateCustomer`,
addCustomer: `${host}/nakadai/customer/addCustomer`,
// /nakadai/customer/queryCustomerDetails
queryCustomer: `${host}/nakadai/customer/queryCustomer`,
queryCustomerDetails: `${host}/nakadai/customer/queryCustomerDetails`,
resetPwdCustomer: `${host}/nakadai/customer/resetPwd`,
queryCustomerIsExists: `${host}/nakadai/customer/queryCustomerIsExists`,
updateEnabled: `${host}/nakadai/customer/updateEnabled`,
queryCustomerIndustryClass: `${host}/nakadai/hrIndustryClass/queryIndustryClass`,
queryCustomerIndustry: `${host}/nakadai/hrIndustry/queryIndustry`,
querySchoolData: `${host}/nakadai/school/querySchool`,
delCustomers: `${host}/nakadai/nakadai/customer/delCustomers`,
updateCustomer: `${host}/nakadai/nakadai/customer/updateCustomer`,
addCustomer: `${host}/nakadai/nakadai/customer/addCustomer`,
// /nakadai/nakadai/customer/queryCustomerDetails
queryCustomer: `${host}/nakadai/nakadai/customer/queryCustomer`,
queryCustomerDetails: `${host}/nakadai/nakadai/customer/queryCustomerDetails`,
resetPwdCustomer: `${host}/nakadai/nakadai/customer/resetPwd`,
queryCustomerIsExists: `${host}/nakadai/nakadai/customer/queryCustomerIsExists`,
updateEnabled: `${host}/nakadai/nakadai/customer/updateEnabled`,
queryCustomerIndustryClass: `${host}/nakadai/nakadai/hrIndustryClass/queryIndustryClass`,
queryCustomerIndustry: `${host}/nakadai/nakadai/hrIndustry/queryIndustry`,
querySchoolData: `${host}/nakadai/nakadai/school/querySchool`,
queryPhone: `${host}/liuwanr/user/queryPhone`,
queryPlatform: `${host}/liuwanr/userInfo/queryPlatform`,
// 用户管理
delUserAccounts: `${host3}/users/userAccount/delUserAccounts`,
queryUserInfoDetails: `${host3}/users/userAccount/queryUserInfoDetails`,
queryUserInfoList: `${host3}/users/userAccount/queryUserInfoList`,
resetPwd: `${host3}/users/userAccount/resetPwd`,
selectAccountDetail: `${host3}/users/userAccount/selectAccountDetail`,
selectUserSysBind: `${host3}/users/userAccount/selectUserSysBind`,
updatePersonCenter: `${host3}/users/userAccount/updatePersonCenter`,
updateUserAvatars: `${host2}/users/userAccount/updateUserAvatars`,
userInfo: `${host3}/users/userAccount/userInfo`,
bindPhoneOrEmail: `${host3}/users/userAccount/bindPhoneOrEmail`,
sendPhoneOrEmailCode: `${host3}/users/userAccount/sendPhoneOrEmailCode`,
updateAccountEnable: `${host3}/users/userAccount/updateAccountEnable`,
updateAccountAllEnable: `${host3}/users/userAccount/updateAccountAllEnable`,
examinePassword: `${host3}/users/userAccount/examinePassword`,
delUserAccounts: `${host3}/users/users/userAccount/delUserAccounts`,
queryUserInfoDetails: `${host3}/users/users/userAccount/queryUserInfoDetails`,
queryUserInfoList: `${host3}/users/users/userAccount/queryUserInfoList`,
resetPwd: `${host3}/users/users/userAccount/resetPwd`,
selectAccountDetail: `${host3}/users/users/userAccount/selectAccountDetail`,
selectUserSysBind: `${host3}/users/users/userAccount/selectUserSysBind`,
updatePersonCenter: `${host3}/users/users/userAccount/updatePersonCenter`,
updateUserAvatars: `${host2}/users/users/userAccount/updateUserAvatars`,
userInfo: `${host3}/users/users/userAccount/userInfo`,
bindPhoneOrEmail: `${host3}/users/users/userAccount/bindPhoneOrEmail`,
sendPhoneOrEmailCode: `${host3}/users/users/userAccount/sendPhoneOrEmailCode`,
updateAccountEnable: `${host3}/users/users/userAccount/updateAccountEnable`,
updateAccountAllEnable: `${host3}/users/users/userAccount/updateAccountAllEnable`,
examinePassword: `${host3}/users/users/userAccount/examinePassword`,
queryOrder: `${host}/liuwanr/order/queryOrder`, //查询订单
queryOrderDetails: `${host}/liuwanr/order/queryOrderDetails`, //查询订单详情
@ -81,12 +80,12 @@ export default {
queryServiceConfig: `${host}/liuwanr/serviceConfig/queryServiceConfig`, //查询服务配置
queryServiceConfigDetails: `${host}/liuwanr/serviceConfig/queryServiceConfigDetails`, //查询服务配置详情
queryProvince: `${host}/nakadai/province/queryProvince`, //查询省份
queryCity: `${host}/nakadai/city/queryCity`, //查询城市
queryProvince: `${host}/nakadai/nakadai/province/queryProvince`, //查询省份
queryCity: `${host}/nakadai/nakadai/city/queryCity`, //查询城市
queryCourseDiscipline: `${host3}/nakadai/discipline/queryDiscipline`, //查询课程学科
queryCourseProfessionalClass: `${host3}/nakadai/professionalClass/queryProfessionalClass`, //查询专业类
queryCourseProfessional: `${host3}/nakadai/professional/queryProfessional`, //查询专业
queryCourseDiscipline: `${host3}/nakadai/nakadai/discipline/queryDiscipline`, //查询课程学科
queryCourseProfessionalClass: `${host3}/nakadai/nakadai/professionalClass/queryProfessionalClass`, //查询专业类
queryCourseProfessional: `${host3}/nakadai/nakadai/professional/queryProfessional`, //查询专业
queryAppConfig: `${host}/liuwanr/course/queryAppConfig`, //查询应用配置
queryTrainingConfig: `${host}/liuwanr/course/queryConfig`, //查询实训配置
deleteTrainingConfig: `${host}/liuwanr/course/deleteTrainingConfig`, //删除实训配置
@ -101,23 +100,23 @@ export default {
downloadFiles: `${host}/liuwanr/aliyun/downloadFiles`, //下载文件
// 数据管理
getIdQueryTable:`${host1}/data/table/getIdQueryTable`,
getTableByClassification:`${host1}/data/table/getTableByClassification`,
getTableByCondition:`${host1}/data/table/getTableByCondition`,
originalList:`${host1}/data/table/originalList`,
originalListById:`${host1}/data/table/originalListById`,
saveCategory:`${host1}/data/table/saveCategory`,
saveTable:`${host1}/data/table/saveTable`,
updateCategory:`${host1}/data/table/updateCategory`,
deleteCategory:`${host1}/data/table/deleteCategory`,
deleteTable:`${host1}/data/table/deleteTable`,
previewData:`${host1}/data/preview`,
getIdQueryTable:`${host1}/data/data/table/getIdQueryTable`,
getTableByClassification:`${host1}/data/data/table/getTableByClassification`,
getTableByCondition:`${host1}/data/data/table/getTableByCondition`,
originalList:`${host1}/data/data/table/originalList`,
originalListById:`${host1}/data/data/table/originalListById`,
saveCategory:`${host1}/data/data/table/saveCategory`,
saveTable:`${host1}/data/data/table/saveTable`,
updateCategory:`${host1}/data/data/table/updateCategory`,
deleteCategory:`${host1}/data/data/table/deleteCategory`,
deleteTable:`${host1}/data/data/table/deleteTable`,
previewData:`${host1}/data/data/preview`,
// 产品管理
deleteProduct:`${host1}/data/product/delete`,
findById:`${host1}/data/product/findById`,
listByEntity:`${host1}/data/product/listByEntity`,
saveProduct:`${host1}/data/product/save`,
updateProduct:`${host1}/data/product/update`,
saveRecord:`${host1}/data/dataRecord/saveRecord`,
deleteProduct:`${host1}/data/data/product/delete`,
findById:`${host1}/data/data/product/findById`,
listByEntity:`${host1}/data/data/product/listByEntity`,
saveProduct:`${host1}/data/data/product/save`,
updateProduct:`${host1}/data/data/product/update`,
saveRecord:`${host1}/data/data/dataRecord/saveRecord`,
}
Loading…
Cancel
Save