const API_BASE = 'https://api.ichunt.com'; const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统 const API_BASE_OSS_HK = 'http://hk.image.semour.com'; //oss系统 HK const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统 // const API_BASE = 'http://api.liexin.com'; // const API_BASE_OSS = 'http://image.liexindev.net'; // const API_BASE_OSS_HK = 'http://image.liexindev.net'; //oss系统 HK // const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统 const API = { /** * 上传数据 * */ uploadSignForInfo: API_BASE + '/supplywechatsignfor/uploadSignForInfo', /** * 会员中心获取 * */ userInfo: API_BASE + '/supplywechatsignfor/userInfo', /** * 小程序登录 * */ login: API_BASE + '/supplywechatsignfor/login', /** * 小程序解绑 * */ unBindUserInfo: API_BASE + '/supplywechatwms/unBindUserInfo', /** * 获取用户微信信息 * */ getWechatInfo: API_BASE + '/supplywechatwms/getWechatInfo', /** * 上传文件 * */ upload: API_BASE + '/oss/upload', /** * 上传文件 * */ uploadImage: API_BASE_OSS + '/uploadImage', /** * 上传文件 * */ uploadImageHk: API_BASE_OSS_HK + '/uploadImage', /** * 生成打印标签数据 * */ printLabel: API_BASE + '/supplywechatwms/printLabel', /** * 获取补打标签数据 * */ getPrintLabel: API_BASE + '/supplywechatwms/getPrintLabel', /** * 获取托盘下拉列表 * */ getTraySelectOption: API_BASE + '/supplywechatwms/getTraySelectOption', /** * 获取入仓号打印类型 * */ getErpOrderSnPrintLabelType: API_BASE + '/supplywechatwms/getErpOrderSnPrintLabelType', /** * 仓内作业列表 * */ warehouseOperationList: API_BASE + '/supplywechatwms/warehouseOperationList', /** * 仓内作业详情 * */ warehouseOperationDetail: API_BASE + '/supplywechatwms/warehouseOperationDetail', /** * 执行仓内作业 * */ execWarehouseOperation: API_BASE + '/supplywechatwms/execWarehouseOperation', /** * 收货登记列表 * */ getCheckInList: API_BASE + '/supplywechatwms/getCheckInList', /** * 新增收货登记 * */ addCheckIn: API_BASE + '/supplywechatwms/addCheckIn', /** * 新增异常收货登记 * */ addUnusualCheckIn: API_BASE + '/supplywechatwms/addUnusualCheckIn', /** * 理货列表 * */ getGoodsArrangeData: API_BASE + '/supplywechatwms/getGoodsArrangeData', /** * 获取理货异常列表 * */ getUnusualCheckInList: API_BASE + '/supplywechatwms/getUnusualCheckInList', /** * 新增理货异常问客 */ addAskCustomer: API_BASE + '/supplywechatwms/addAskCustomer', /** * 新增理货 */ addSortGodds: API_BASE + '/supplywechatwms/addSortGodds', /** * 获取理货异常问题列表 */ getAllException: API_BASE + '/supplywechatwms/getAllException', /** * 获取理货异常问题对应的数据数组 */ getExceptionData: API_BASE + '/supplywechatwms/getExceptionData', /** * 获取理货异常列表 */ getUnusualSortGoodsList: API_BASE + '/supplywechatwms/getUnusualSortGoodsList', /** * 获取理货问客详情 */ getAskCustomerDetail: API_BASE + '/supplywechatwms/getAskCustomerDetail', /** * 作废 */ delWstyptllIdErpOrderSnCodeManage: API_BASE + '/supplywechatwms/delWstyptllIdErpOrderSnCodeManage', /** * 条码管理列表 */ erpOrderSnCodeManage: API_BASE + '/supplywechatwms/erpOrderSnCodeManage', /** * 装箱复核时序蒲 */ rePackageList: API_BASE + '/supplywechatwms/rePackageList', /** * 装箱复核时序蒲详情 */ getTrayHaveScanErpOrderSn: API_BASE + '/supplywechatwms/getTrayHaveScanErpOrderSn', /** * 作废条码 */ delErpOrderSnCodeManage: API_BASE + '/supplywechatwms/delErpOrderSnCodeManage', /** * 检测标签重复打印 */ checkRepeatPrintLabel: API_BASE + '/supplywechatwms/checkRepeatPrintLabel', /** * 入仓号是否理货 */ checkIsTallyGoods: API_BASE + '/supplywechatwms/checkIsTallyGoods', /** * 扫描入库 */ szScanIn: API_BASE + '/supplywechatwms/szScanIn', /** * 扫描出库 */ szScanOut: API_BASE + '/supplywechatwms/szScanOut', /** * 扫描出入库列表 */ szScanOutInList: API_BASE + '/supplywechatwms/szScanOutInList', /** * 获取报关收货信息 */ getTodayCustomsDeclarationAndReceipt: API_BASE + '/supplywechatwms/getTodayCustomsDeclarationAndReceipt', /** * 签到今天的报关收货信息 */ signTodayCustomsDeclarationAndReceipt: API_BASE + '/supplywechatwms/signTodayCustomsDeclarationAndReceipt', /** * 获取金蝶的未来货登记 */ getEasRegistrationOfNonArrivalGoods: API_BASE + '/supplywechatwms/getEasRegistrationOfNonArrivalGoods', /** * 生成今天的未来-货登记 */ createRegistrationOfNonArrivalGoods: API_BASE + '/supplywechatwms/createRegistrationOfNonArrivalGoods', /** * 获取今天的报关收货统计 */ getCustomsDeclarationAndReceiptStatistics: API_BASE + '/supplywechatwms/getCustomsDeclarationAndReceiptStatistics', /** * 获取当前箱号的数据 */ getBoxSnAndNum: API_BASE + '/supplywechatwms/getBoxSnAndNum', /** * 识别二维码数量和型号 */ identifyQrCodeNumAndSn: API_BASE + '/supplywechatwms/identifyQrCodeNumAndSn', /** * 识别二维码数量和型号 */ scanQrCode: API_BASE + '/supplywechatwms/scanQrCode', /** * 提交当前箱号的数据 */ submitBoxSnAndNum: API_BASE + '/supplywechatwms/submitBoxSnAndNum', /** * 获取入仓号的理货数据 */ getTallyGoods: API_BASE + '/supplywechatwms/getTallyGoods', /** * 检测入仓号是否理货 */ checkErpOrderSnIsTally: API_BASE + '/supplywechatwms/checkErpOrderSnIsTally', /** * 获取产地 */ getOrigin: API_BASE + '/supplywechatwms/getOrigin', /** * 获取产地升级版 */ getOriginCn: API_BASE + '/supplywechatwms/getOriginCn', /** * 获取合箱子入仓号 */ getFixErpOrderSn: API_BASE + '/supplywechatwms/getFixErpOrderSn', /** * 修改是否查看 */ changeWatch: API_BASE + '/supplywechatwms/changeWatch', /** * 提交理货 */ submitTallyGoods: API_BASE + '/supplywechatwms/submitTallyGoods', /** * 等待回复 */ askCustomerProblemList: API_BASE + '/supplywechatwms/askCustomerProblemList', /** * 异常理货详情 */ askCustomerProblemDetail: API_BASE + '/supplywechatwms/askCustomerProblemDetail', /** * 修改是否查看 */ changeWatch: API_BASE + '/supplywechatwms/changeWatch', /** * 问客数量 */ getAskNum: API_BASE + '/supplywechatwms/getAskNum', /** * 问客列表 */ askCustomerProblemListV2: API_BASE + '/supplywechatwms/askCustomerProblemListV2', /** * 获取入仓号对应的型号列表 */ getErpOrderSnOrderGoodsSn: API_BASE + '/supplywechatwms/getErpOrderSnOrderGoodsSn', /** * 获取所有异常 */ getAllExceptionV2: API_BASE + '/supplywechatwms/getAllExceptionV2', /** * 获取异常对应的数据 */ getExceptionDataV2: API_BASE + '/supplywechatwms/getExceptionDataV2', /** * 新增异常问客 */ addAskCustomerV2: API_BASE + '/supplywechatwms/addAskCustomerV2', /** * 问客详情 */ getAskCustomerDetailV2: API_BASE + '/supplywechatwms/getAskCustomerDetailV2', /** * 核对并执行 */ executeJobV2: API_BASE + '/supplywechatwms/executeJobV2', /** * 标签打印 */ addSupplyChainData: API_BASE_WMS + '/open/label/addSupplyChainData', /** * 获取箱号 */ getBoxSn: API_BASE + '/supplywechatwms/getBoxSn', /** * 获取锁定理货信息 */ getTallyData: API_BASE + '/supplywechatwms/getTallyData', /** * 理货明细提交 */ submitTallyDetail: API_BASE + '/supplywechatwms/submitTallyDetail', /** * 关单封箱 */ closeBox: API_BASE + '/supplywechatwms/closeBox', /** * 重新开箱 */ reOpenBox: API_BASE + '/supplywechatwms/reOpenBox', /** * 理货明细撤销 */ cancelTallyDetail: API_BASE + '/supplywechatwms/cancelTallyDetail', /** * 获取入仓号数量接口 */ getTallyList: API_BASE + '/supplywechatwms/getTallyList', /** * 获取异常理货明细 */ getAbnormalTallyDetail: API_BASE + '/supplywechatwms/getAbnormalTallyDetail', /** * 异常型号装箱 */ submitAbnormalBox: API_BASE + '/supplywechatwms/submitAbnormalBox', /** * 合箱 */ fixBox: API_BASE + '/supplywechatwms/fixBox', /** * 取消释放 */ cancelRelease: API_BASE + '/supplywechatwms/cancelRelease', /** * 供应链理货打印 - 箱号标签 */ addSCTallyData: API_BASE_WMS + '/open/label/addSCTallyData', /** * 根据物料获取入仓号 */ getErpOrderSn: API_BASE + '/supplywechatwms/getErpOrderSn', /** * 获取货品 */ getBoxData: API_BASE + '/supplywechatwms/getBoxData', /** * 获取app版本 */ getAppLatestVersion: API_BASE + '/supplywechatwms/getAppLatestVersion', /** * 获取获取标签打印列表版本 */ getPrintScanList: API_BASE + '/tallyGoodsAjax/getPrintScanList', /** * app 修改子箱数量 */ alterTallyTagBySubBoxQty: API_BASE + '/supplywechatwms/alterTallyTagBySubBoxQty', /** * app 根据获取标签号 */ getPrintScanList: API_BASE + '/supplywechatwms/getPrintScanList', /** * app 根据理货明细获取箱数 */ getBoxNumByDetailId: API_BASE + '/supplywechatwms/getBoxNumByDetailId', /** * 更新统计打印标签次数 */ updateTagPrintTimes: API_BASE + '/supplywechatwms/updateTagPrintTimes', /** * 理货记录 */ getTallyRecordList: API_BASE + '/supplywechatwms/getTallyRecordList', /** * 异常管理列表 */ abnormalManageList: API_BASE + '/supplywechatwms/abnormalManageList', /** * 异常作废 */ cancelAbnormal: API_BASE + '/supplywechatwms/cancelAbnormal', /** * 异常确认 */ confirmAbnormal: API_BASE + '/supplywechatwms/confirmAbnormal', /** * 入仓号进行模糊查询 */ getAllOrderDataByEntrustNo: API_BASE + '/supplywechatwms/getAllOrderDataByEntrustNo', /** * 根据订单ID获取明细 */ getOrderDetailById: API_BASE + '/supplywechatwms/getOrderDetailById', /** * 新增异常 */ addAbnormal: API_BASE + '/supplywechatwms/addAbnormal', /** * 获取快捷用语 */ getQuickExpressions: API_BASE + '/supplywechatwms/getQuickExpressions', /** * 待处理数 */ getStayHandleCount: API_BASE + '/supplywechatwms/getStayHandleCount', /** * 修改理货净重 */ updateTallyNetWeight: API_BASE + '/supplywechatwms/updateTallyNetWeight', /** * 补打标签 */ reTagPrint: API_BASE + '/supplywechatwms/reTagPrint', /** * 验证入仓号 */ checkScTallyGoods: API_BASE + '/supplywechatwms/checkScTallyGoods', /** * 验证入仓号 */ getBoxStatus: API_BASE + '/supplywechatwms/getBoxStatus', /** * 历史理货图片 */ getHistoryPic: API_BASE + '/supplywechatwms/getHistoryPic' } module.exports = { API }