|
|
|
@ -1,25 +1,23 @@ |
|
|
|
|
import Setting from '@/setting'; |
|
|
|
|
import Setting from "@/setting"; |
|
|
|
|
|
|
|
|
|
let host = Setting.host; |
|
|
|
|
let uploadURL = "http://39.108.250.202:10000"; |
|
|
|
|
let uploadURL = "http://39.108.250.202:9000"; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
|
|
|
|
|
logins: `${host}/users/users/user/login`, //登录
|
|
|
|
|
verification:`${host}/users/users/user/captcha`,// 验证码图片
|
|
|
|
|
bindPhoneOrEmail:`${host}/users/users/userAccount/bindPhoneOrEmail`,// 绑定手机
|
|
|
|
|
sendPhoneOrEmailCode:`${host} /users/users/userAccount/sendPhoneOrEmailCode`,// 手机验证码
|
|
|
|
|
verification: `${host}/users/users/user/captcha`,// 验证码图片
|
|
|
|
|
bindPhoneOrEmail: `${host}/users/users/userAccount/bindPhoneOrEmail`,// 绑定手机
|
|
|
|
|
sendPhoneOrEmailCode: `${host} /users/users/userAccount/sendPhoneOrEmailCode`,// 手机验证码
|
|
|
|
|
|
|
|
|
|
// 订单管理
|
|
|
|
|
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`,// 订单更新
|
|
|
|
|
|
|
|
|
|
renew:`${host}/nakadai/nakadai/orderOther/renew`,// 续费信息管理-post
|
|
|
|
|
ship:`${host}/nakadai/nakadai/orderOther/ship`,// 处理时的订单发货管理-post
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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`,// 订单更新
|
|
|
|
|
renew: `${host}/nakadai/nakadai/orderOther/renew`,// 续费信息管理-post
|
|
|
|
|
ship: `${host}/nakadai/nakadai/orderOther/ship`,// 处理时的订单发货管理-post
|
|
|
|
|
|
|
|
|
|
queryAccountIsExist: `${host}/liuwanr/userInfo/queryServerAccountIsExist`, //查询账号是否存在
|
|
|
|
|
|
|
|
|
@ -29,9 +27,9 @@ export default { |
|
|
|
|
addCustomer: `${host}/nakadai/nakadai/customer/addCustomer`, |
|
|
|
|
queryCustomer: `${host}/nakadai/nakadai/customer/queryCustomer`, |
|
|
|
|
queryCustomerDetails: `${host}/nakadai/nakadai/customer/queryCustomerDetails`, |
|
|
|
|
saveOrUpdate:`${host}/data/data/role/saveOrUpdate`, |
|
|
|
|
doAssign:`${host}/data/data/permission/doAssign`, |
|
|
|
|
updateCustomerByRoleId:`${host}/nakadai/nakadai/customer/updateCustomerByRoleId`, |
|
|
|
|
saveOrUpdate: `${host}/data/data/role/saveOrUpdate`, |
|
|
|
|
doAssign: `${host}/data/data/permission/doAssign`, |
|
|
|
|
updateCustomerByRoleId: `${host}/nakadai/nakadai/customer/updateCustomerByRoleId`, |
|
|
|
|
|
|
|
|
|
resetPwdCustomer: `${host}/nakadai/nakadai/customer/resetPwd`, |
|
|
|
|
queryCustomerIsExists: `${host}/nakadai/nakadai/customer/queryCustomerIsExists`, |
|
|
|
@ -124,33 +122,17 @@ export default { |
|
|
|
|
|
|
|
|
|
// 阿里云文件/视频管理
|
|
|
|
|
fileDeletion: `${uploadURL}/oss/manage/fileDeletion`, // 删除OSS文件
|
|
|
|
|
fileupload: `${uploadURL}/oss/manage/fileUpload`, // 文件上传
|
|
|
|
|
fileupload: `${uploadURL}/oss/manage/fileupload`, // 文件上传
|
|
|
|
|
getPlayAuth: `${uploadURL}/oss/manage/getPlayAuth`, // 获取播放凭证
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
queryProvince: `${host}/nakadai/nakadai/province/queryProvince`, //查询省份
|
|
|
|
|
queryCity: `${host}/nakadai/nakadai/city/queryCity`, //查询城市
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
queryCourseDiscipline: `${host}/nakadai/nakadai/discipline/queryDiscipline`, //查询课程学科
|
|
|
|
|
queryCourseProfessionalClass: `${host}/nakadai/nakadai/professionalClass/queryProfessionalClass`, //查询专业类
|
|
|
|
|
queryCourseProfessional: `${host}/nakadai/nakadai/professional/queryProfessional`, //查询专业
|
|
|
|
|
|
|
|
|
|
queryAppConfig: `${host}/liuwanr/course/queryAppConfig`, //查询应用配置
|
|
|
|
|
queryTrainingConfig: `${host}/liuwanr/course/queryConfig`, //查询实训配置
|
|
|
|
|
deleteTrainingConfig: `${host}/liuwanr/course/deleteTrainingConfig`, //删除实训配置
|
|
|
|
@ -165,24 +147,24 @@ export default { |
|
|
|
|
downloadFiles: `${host}/liuwanr/aliyun/downloadFiles`, //下载文件
|
|
|
|
|
|
|
|
|
|
// 数据管理
|
|
|
|
|
getIdQueryTable:`${host}/data/data/table/getIdQueryTable`, |
|
|
|
|
getTableByClassification:`${host}/data/data/table/getTableByClassification`, |
|
|
|
|
getTableByCondition:`${host}/data/data/table/getTableByCondition`, |
|
|
|
|
originalList:`${host}/data/data/table/originalList`, |
|
|
|
|
originalListById:`${host}/data/data/table/originalListById`, |
|
|
|
|
saveCategory:`${host}/data/data/table/saveCategory`, |
|
|
|
|
saveTable:`${host}/data/data/table/saveTable`, |
|
|
|
|
updateCategory:`${host}/data/data/table/updateCategory`, |
|
|
|
|
deleteCategory:`${host}/data/data/table/deleteCategory`, |
|
|
|
|
deleteTable:`${host}/data/data/table/deleteTable`, |
|
|
|
|
previewData:`${host}/data/data/preview`, |
|
|
|
|
staticPreview:`${host}/data/data/staticPreview`, |
|
|
|
|
getIdQueryTable: `${host}/data/data/table/getIdQueryTable`, |
|
|
|
|
getTableByClassification: `${host}/data/data/table/getTableByClassification`, |
|
|
|
|
getTableByCondition: `${host}/data/data/table/getTableByCondition`, |
|
|
|
|
originalList: `${host}/data/data/table/originalList`, |
|
|
|
|
originalListById: `${host}/data/data/table/originalListById`, |
|
|
|
|
saveCategory: `${host}/data/data/table/saveCategory`, |
|
|
|
|
saveTable: `${host}/data/data/table/saveTable`, |
|
|
|
|
updateCategory: `${host}/data/data/table/updateCategory`, |
|
|
|
|
deleteCategory: `${host}/data/data/table/deleteCategory`, |
|
|
|
|
deleteTable: `${host}/data/data/table/deleteTable`, |
|
|
|
|
previewData: `${host}/data/data/preview`, |
|
|
|
|
staticPreview: `${host}/data/data/staticPreview`, |
|
|
|
|
|
|
|
|
|
// 产品管理
|
|
|
|
|
deleteProduct:`${host}/data/data/product/delete`, |
|
|
|
|
findById:`${host}/data/data/product/findById`, |
|
|
|
|
listByEntity:`${host}/data/data/product/listByEntity`, |
|
|
|
|
saveProduct:`${host}/data/data/product/save`, |
|
|
|
|
updateProduct:`${host}/data/data/product/update`, |
|
|
|
|
saveRecord:`${host}/data/data/dataRecord/saveRecord`, |
|
|
|
|
} |
|
|
|
|
deleteProduct: `${host}/data/data/product/delete`, |
|
|
|
|
findById: `${host}/data/data/product/findById`, |
|
|
|
|
listByEntity: `${host}/data/data/product/listByEntity`, |
|
|
|
|
saveProduct: `${host}/data/data/product/save`, |
|
|
|
|
updateProduct: `${host}/data/data/product/update`, |
|
|
|
|
saveRecord: `${host}/data/data/dataRecord/saveRecord` |
|
|
|
|
}; |