228 lines
4.1 KiB
JavaScript
228 lines
4.1 KiB
JavaScript
/**
|
|
* 接口列表文件
|
|
*/
|
|
export default {
|
|
/** 公共 ↓ **/
|
|
common: {
|
|
ping: {
|
|
path: "index.ping",
|
|
auth: false,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
store: {
|
|
path: "index.loadStores",
|
|
auth: false,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
getCOSUploadConfig: {
|
|
path: "index.getCOSUploadConfig",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
uploadSuccessNotify: {
|
|
path: "index.uploadSuccessNotify",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
ReferenceFile: {
|
|
path: "index.ReferenceFile",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
searchSpace: {
|
|
path: "index.searchSpace",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
recognizeLicensePlate: {
|
|
path: "index.recognizeLicensePlate",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
listTemplatesByType: {
|
|
path: "setting.printTemplate.listTemplatesByType",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
}
|
|
},
|
|
/** 用户 ↓ **/
|
|
user: {
|
|
info: {
|
|
path: "user.info",
|
|
auth: false,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
login: {
|
|
path: "user.login",
|
|
auth: false,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
loginByCode: {
|
|
path: "user.loginByCode",
|
|
auth: false,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
changeRole: {
|
|
path: "user.changeRole",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
}
|
|
},
|
|
storage: {
|
|
receiving: {
|
|
getReceivingList: {
|
|
path: "storage.receiving.getReceivingList",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
create: {
|
|
path: "storage.receiving.create",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
get: {
|
|
path: "storage.receiving.get",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
bindStore: {
|
|
path: "storage.receiving.bindStore",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
addDetail: {
|
|
path: "storage.receiving.addDetail",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
deleteDetail: {
|
|
path: "storage.receiving.deleteDetail",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
|
|
detailChange: {
|
|
path: "storage.receiving.detailChange",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
cancel: {
|
|
path: "storage.receiving.cancel",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
completeReceiving: {
|
|
path: "storage.receiving.completeReceiving",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
}
|
|
},
|
|
inventory: {
|
|
list: {
|
|
path: "storage.inventory.list",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
transferByProduct: {
|
|
path: "storage.inventory.transferByProduct",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
transferLocation: {
|
|
path: "storage.inventory.transferLocation",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
}
|
|
}
|
|
},
|
|
stock: {
|
|
search: {
|
|
path: "stock.search",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
warehouse: {
|
|
list: {
|
|
path: "stock.warehouse.list",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
search: {
|
|
path: "stock.warehouse.search",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
getProhibitedType: {
|
|
path: "stock.warehouse.getProhibitedType",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
getStockUnits: {
|
|
path: "stock.warehouse.getStockUnits",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
checkItemCodeUnique: {
|
|
path: "stock.warehouse.checkItemCodeUnique",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
saveWarehouseStock: {
|
|
path: "stock.warehouse.saveWarehouseStock",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
}
|
|
}
|
|
},
|
|
print: {
|
|
getList: {
|
|
path: "print.getList",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
getComputerPrinter: {
|
|
path: "print.getComputerPrinter",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
send:{
|
|
path: "print.send",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
}
|
|
}
|
|
}; |