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