SmartStorage/apis/http.js

36 lines
944 B
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'
//接口短链
serviceUrl = {
login:{
code:'/sendCode',//获取验证码
},
index: {
noticeCont: '/sysNotice/getList', // 获取公告内容
waitDo: '/app/getToDoList', // 获取待办事项
keyData: '/app/getCriticalData' // 获取关键数据
},
fetchMaterial: {
fetchMaterialList: '/type/selectMaTypeListByLevelIndex', // 获取设备列表
},
exitMaterial: {
exitMaterialList: '/back_apply/getbackList', // 获取机具退料列表
exitMaterialDetail: '/back_apply/view' // 获取退料设备详情
}
}
}
export default new HttpConfig()