|
|
|
@ -2,14 +2,13 @@ import Setting from "@/setting"; |
|
|
|
|
|
|
|
|
|
const host = Setting.apiBaseURL |
|
|
|
|
const uploadURL = Setting.uploadURL |
|
|
|
|
const host1 = 'http://39.108.250.202:9000/' |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
|
|
|
|
|
logins: `users/users/user/login`, //登录
|
|
|
|
|
verification: `${host}users/users/user/captcha`,// 验证码图片 保留host
|
|
|
|
|
bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机
|
|
|
|
|
sendPhoneOrEmailCode: `${host1}users/users/userAccount/sendPhoneOrEmailCode`,// 手机验证码
|
|
|
|
|
sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,// 手机验证码
|
|
|
|
|
getUserRolesPermissionMenu: `users/user-role/getUserRolesPermissionMenu`, |
|
|
|
|
|
|
|
|
|
staffTemplate: `http://www.huorantech.cn/template/%E6%89%B9%E9%87%8F%E5%AF%BC%E5%85%A5%E5%91%98%E5%B7%A5%E6%A8%A1%E6%9D%BF.xlsx`, // 后台账号模板
|
|
|
|
@ -18,14 +17,14 @@ export default { |
|
|
|
|
checkWorkNumOrAccount: `occupationlab/architecture/checkWorkNumOrAccount`, // 新增/编辑学生前:校验学号或者学生账号
|
|
|
|
|
|
|
|
|
|
// 订单管理
|
|
|
|
|
orderAdd: `${host1}nakadai/nakadai/order/add`,// 订单添加
|
|
|
|
|
orderDelete: `${host1}nakadai/nakadai/order/delete`,// 删除定单
|
|
|
|
|
orderDetail: `${host1}nakadai/nakadai/order/get`,// 订单详情
|
|
|
|
|
orderList: `${host1}nakadai/nakadai/order/list`,// 订单列表
|
|
|
|
|
orderUpdate: `${host1}nakadai/nakadai/order/update`,// 订单更新
|
|
|
|
|
renew: `${host1}nakadai/nakadai/orderOther/renew`,// 续费信息管理-post
|
|
|
|
|
ship: `${host1}nakadai/nakadai/orderOther/ship`,// 处理时的订单发货管理-post
|
|
|
|
|
getOrderOtherTime: `${host1}nakadai/nakadai/orderOther/getOrderOtherTime`, |
|
|
|
|
orderAdd: `nakadai/nakadai/order/add`,// 订单添加
|
|
|
|
|
orderDelete: `nakadai/nakadai/order/delete`,// 删除定单
|
|
|
|
|
orderDetail: `nakadai/nakadai/order/get`,// 订单详情
|
|
|
|
|
orderList: `nakadai/nakadai/order/list`,// 订单列表
|
|
|
|
|
orderUpdate: `nakadai/nakadai/order/update`,// 订单更新
|
|
|
|
|
renew: `nakadai/nakadai/orderOther/renew`,// 续费信息管理-post
|
|
|
|
|
ship: `nakadai/nakadai/orderOther/ship`,// 处理时的订单发货管理-post
|
|
|
|
|
getOrderOtherTime: `nakadai/nakadai/orderOther/getOrderOtherTime`, |
|
|
|
|
|
|
|
|
|
queryAccountIsExist: `liuwanr/userInfo/queryServerAccountIsExist`, //查询账号是否存在
|
|
|
|
|
|
|
|
|
@ -35,7 +34,7 @@ export default { |
|
|
|
|
addCustomer: `nakadai/nakadai/customer/addCustomer`, |
|
|
|
|
queryCustomer: `nakadai/nakadai/customer/queryCustomer`, |
|
|
|
|
queryCustomerDetails: `nakadai/nakadai/customer/queryCustomerDetails`, |
|
|
|
|
saveOrUpdate: `${host1}data/data/role/saveOrUpdate`, |
|
|
|
|
saveOrUpdate: `data/data/role/saveOrUpdate`, |
|
|
|
|
doAssign: `data/data/permission/doAssign`, |
|
|
|
|
updateCustomerByRoleId: `nakadai/nakadai/customer/updateCustomerByRoleId`, |
|
|
|
|
checkEmailOrPhone: `nakadai/nakadai/customer/checkEmailOrPhone`, // 新增客户前:校验手机号或者邮箱
|
|
|
|
@ -147,14 +146,14 @@ export default { |
|
|
|
|
courseProfessionalClass: `nakadai/nakadai/subject/courseProfessionalClass`, //课程专业类
|
|
|
|
|
courseProfessional: `nakadai/nakadai/subject/courseProfessional`, //课程专业
|
|
|
|
|
//课程管理
|
|
|
|
|
curriculumList: `${host1}nakadai/nakadai/curriculum/curriculumList`, //课程列表
|
|
|
|
|
createCurriculum: `${host1}nakadai/nakadai/curriculum/createCurriculum`, //创建课程
|
|
|
|
|
curriculumDetail: `${host1}nakadai/nakadai/curriculum/curriculumDetail`, //课程详情
|
|
|
|
|
modifyCourse: `${host1}nakadai/nakadai/curriculum/modifyCourse`, //编辑课程
|
|
|
|
|
delCourse: `${host1}nakadai/nakadai/curriculum/delCourse`, //单个、批量删除课程
|
|
|
|
|
isShelves: `${host1}nakadai/nakadai/curriculum/isShelves`, //上下架课程
|
|
|
|
|
curriculumList: `nakadai/nakadai/curriculum/curriculumList`, //课程列表
|
|
|
|
|
createCurriculum: `nakadai/nakadai/curriculum/createCurriculum`, //创建课程
|
|
|
|
|
curriculumDetail: `nakadai/nakadai/curriculum/curriculumDetail`, //课程详情
|
|
|
|
|
modifyCourse: `nakadai/nakadai/curriculum/modifyCourse`, //编辑课程
|
|
|
|
|
delCourse: `nakadai/nakadai/curriculum/delCourse`, //单个、批量删除课程
|
|
|
|
|
isShelves: `nakadai/nakadai/curriculum/isShelves`, //上下架课程
|
|
|
|
|
getInternalProjectBySystemId: `occupationlab/projectManage/getInternalProjectBySystemId`, //根据系统id、项目权限获取系统内置项目
|
|
|
|
|
checkConfig: `${host1}nakadai/nakadai/curriculum/checkConfig`, |
|
|
|
|
checkConfig: `nakadai/nakadai/curriculum/checkConfig`, |
|
|
|
|
// 课程章节管理
|
|
|
|
|
addChapter: `nakadai/curriculum/chapter/addChapter`, //添加章节
|
|
|
|
|
editChapter: `nakadai/curriculum/chapter/editChapter`, //修改章节
|
|
|
|
@ -195,31 +194,31 @@ export default { |
|
|
|
|
downloadFiles: `liuwanr/aliyun/downloadFiles`, //下载文件
|
|
|
|
|
|
|
|
|
|
// 数据管理
|
|
|
|
|
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`, |
|
|
|
|
staticPreview: `${host1}data/data/staticPreview`, |
|
|
|
|
editTableName: `${host1}data/data/table/editTableName`, |
|
|
|
|
updateTableCommit: `${host1}data/data/updateTableCommit`, |
|
|
|
|
getLevel: `${host1}data/category/getLevel`, |
|
|
|
|
getAllTableInfoByCategoryId: `${host1}data/data/product/getAllTableInfoByCategoryId`, |
|
|
|
|
getIdQueryTable: `data/data/table/getIdQueryTable`, |
|
|
|
|
getTableByClassification: `data/data/table/getTableByClassification`, |
|
|
|
|
getTableByCondition: `data/data/table/getTableByCondition`, |
|
|
|
|
originalList: `data/data/table/originalList`, |
|
|
|
|
originalListById: `data/data/table/originalListById`, |
|
|
|
|
saveCategory: `data/data/table/saveCategory`, |
|
|
|
|
saveTable: `data/data/table/saveTable`, |
|
|
|
|
updateCategory: `data/data/table/updateCategory`, |
|
|
|
|
deleteCategory: `data/data/table/deleteCategory`, |
|
|
|
|
deleteTable: `data/data/table/deleteTable`, |
|
|
|
|
previewData: `data/data/preview`, |
|
|
|
|
staticPreview: `data/data/staticPreview`, |
|
|
|
|
editTableName: `data/data/table/editTableName`, |
|
|
|
|
updateTableCommit: `data/data/updateTableCommit`, |
|
|
|
|
getLevel: `data/category/getLevel`, |
|
|
|
|
getAllTableInfoByCategoryId: `data/data/product/getAllTableInfoByCategoryId`, |
|
|
|
|
|
|
|
|
|
// 产品管理
|
|
|
|
|
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`, |
|
|
|
|
getAllTableIdBycategoryId: `${host1}data/data/product/getAllTableIdBycategoryId`, |
|
|
|
|
deleteProduct: `data/data/product/delete`, |
|
|
|
|
findById: `data/data/product/findById`, |
|
|
|
|
listByEntity: `data/data/product/listByEntity`, |
|
|
|
|
saveProduct: `data/data/product/save`, |
|
|
|
|
updateProduct: `data/data/product/update`, |
|
|
|
|
saveRecord: `data/data/dataRecord/saveRecord`, |
|
|
|
|
getAllTableIdBycategoryId: `data/data/product/getAllTableIdBycategoryId`, |
|
|
|
|
|
|
|
|
|
// 关键词
|
|
|
|
|
addKeyword: `data/keyword/addKeyword`, |
|
|
|
@ -240,13 +239,13 @@ export default { |
|
|
|
|
exportFailure: `${host}nakadai/backstageStaff/exportFailure`, |
|
|
|
|
|
|
|
|
|
// 角色管理
|
|
|
|
|
batchRemove: `${host1}users/role/batchRemove`, //批量删除角色
|
|
|
|
|
checkRoleIsExist: `${host1}users/role/checkRoleIsExist`, //判断该角色是否存在
|
|
|
|
|
delRoleByAccountId: `${host1}users/role/delRoleByAccountId`, //删除某用户下的某个角色
|
|
|
|
|
roleList: `${host1}users/role/list`, //角色分页列表查询
|
|
|
|
|
obtainDetails: `${host1}users/role/obtainDetails`, //获取角色详情
|
|
|
|
|
saveOrUpdate: `${host1}users/role/saveOrUpdate`, //新增或更新角色
|
|
|
|
|
queryAllMenus: `${host1}users/users/permission/queryAllMenus`, //查询所有菜单
|
|
|
|
|
batchRemove: `users/role/batchRemove`, //批量删除角色
|
|
|
|
|
checkRoleIsExist: `users/role/checkRoleIsExist`, //判断该角色是否存在
|
|
|
|
|
delRoleByAccountId: `users/role/delRoleByAccountId`, //删除某用户下的某个角色
|
|
|
|
|
roleList: `users/role/list`, //角色分页列表查询
|
|
|
|
|
obtainDetails: `users/role/obtainDetails`, //获取角色详情
|
|
|
|
|
saveOrUpdate: `users/role/saveOrUpdate`, //新增或更新角色
|
|
|
|
|
queryAllMenus: `users/users/permission/queryAllMenus`, //查询所有菜单
|
|
|
|
|
|
|
|
|
|
// 日志管理
|
|
|
|
|
logAdd: `nakadai/log/add`, |
|
|
|
@ -259,16 +258,16 @@ export default { |
|
|
|
|
logWithdrawal: `nakadai/log/logWithdrawal`, |
|
|
|
|
|
|
|
|
|
// 合伙人
|
|
|
|
|
deleteParner: `${host1}nakadai/partnerClassification/delete`, |
|
|
|
|
saveParner: `${host1}nakadai/partnerClassification/save`, |
|
|
|
|
listParner: `${host1}nakadai/partnerClassification/treeList`, |
|
|
|
|
updateParner: `${host1}nakadai/partnerClassification/update`, |
|
|
|
|
deleteParner: `nakadai/partnerClassification/delete`, |
|
|
|
|
saveParner: `nakadai/partnerClassification/save`, |
|
|
|
|
listParner: `nakadai/partnerClassification/treeList`, |
|
|
|
|
updateParner: `nakadai/partnerClassification/update`, |
|
|
|
|
|
|
|
|
|
delPartnerAccount: `${host1}nakadai/partnerAccount/delPartnerAccount`, |
|
|
|
|
modifyPartnerAccount: `${host1}nakadai/partnerAccount/modifyPartnerAccount`, |
|
|
|
|
partnerAccountDetail: `${host1}nakadai/partnerAccount/partnerAccountDetail`, |
|
|
|
|
partnerAccountList: `${host1}nakadai/partnerAccount/partnerAccountList`, |
|
|
|
|
savePartnerAccount: `${host1}nakadai/partnerAccount/savePartnerAccount`, |
|
|
|
|
generateInvitationCode: `${host1}nakadai/partnerAccount/generateInvitationCode`, |
|
|
|
|
generationQrCode: `${host1}nakadai/partnerAccount/generationQrCode `, |
|
|
|
|
delPartnerAccount: `nakadai/partnerAccount/delPartnerAccount`, |
|
|
|
|
modifyPartnerAccount: `nakadai/partnerAccount/modifyPartnerAccount`, |
|
|
|
|
partnerAccountDetail: `nakadai/partnerAccount/partnerAccountDetail`, |
|
|
|
|
partnerAccountList: `nakadai/partnerAccount/partnerAccountList`, |
|
|
|
|
savePartnerAccount: `nakadai/partnerAccount/savePartnerAccount`, |
|
|
|
|
generateInvitationCode: `nakadai/partnerAccount/generateInvitationCode`, |
|
|
|
|
generationQrCode: `nakadai/partnerAccount/generationQrCode `, |
|
|
|
|
}; |