SmartStorage/apis/http.js

46 lines
1.5 KiB
JavaScript
Raw Normal View History

2023-12-20 15:15:23 +08:00
class HttpConfig{
/*
演示基地址
authPath = 'http://192.168.0.14:21624/auth'
systemPath = 'http://192.168.0.14:21624/system'
basePath = 'http://192.168.0.14:21624/base'
*/
/*
调试ip
刘川10.40.92.209
*/
//基地址
authPath = 'http://10.40.92.209:9200'
systemPath = 'http://10.40.92.209:9201'
basePath = 'http://10.40.92.209:9301'
2023-12-21 11:01:48 +08:00
// 短链
2023-12-20 15:15:23 +08:00
serviceUrl = {
login:{
2023-12-21 11:01:48 +08:00
code:'/sendCode',// 获取验证码
2023-12-20 15:15:23 +08:00
},
index: {
noticeCont: '/sysNotice/getList', // 获取公告内容
waitDo: '/app/getToDoList', // 获取待办事项
keyData: '/app/getCriticalData' // 获取关键数据
},
fetchMaterial: {
fetchMaterialList: '/type/selectMaTypeListByLevelIndex', // 获取设备列表
},
exitMaterial: {
2023-12-21 11:01:48 +08:00
exitDeptList: '/back_apply/getbackUnit', // 获取退料单位,工程列表
2023-12-20 15:15:23 +08:00
exitMaterialList: '/back_apply/getbackList', // 获取机具退料列表
2023-12-21 11:01:48 +08:00
exitMaterialDetail: '/back_apply/view' ,// 获取退料设备详情
subExitMaterial: '/back_apply/upload', // 提交退料清单
delMaterial: '/back_apply/del', // 删除退料申请
newExitList: '/back_apply/addBackTask', // 新建退料任务单
selectMaterial: '/back_apply/materialList', // 退料物料选择
},
exitExam: {
exitExamList: '/back_apply/examineList', // 获取退料审核列表
exitExamDetail: '/back_apply/examineView', // 获取退料审核明细
subExitExam: '/back_apply/audit', // 提交单个审核
2023-12-20 15:15:23 +08:00
}
}
}
export default new HttpConfig()