import { curEnvConf } from "../env" export const host = curEnvConf.apiHost export default { uploadFile: '/common/ossUpload', loginByApp: `/loginByApp`, // 登录 -- DONE loginByMP: `/loginByWeixin`, // 小程序登录 -- DONE bindPhone: `/bindPhoneByWx`, // 绑定手机号 -- DONE getInfoByApp: `/getInfoByWxApp`,// 获取用户基本信息 -- DONE getEmisCountry: `/oms2c/emisCountry/listSimple`, // 获取国家列表 -- DONE getEmisRegion: `/oms2c/emisRegion/listSimple`,// 获取省市区列表 -- DONE getDicDataJson: `/common/getDicDataJson`, // 获取枚举字段 -- DONE getAppHomeStatData: `/oms2c/commonTools/getAppHomeStatData`,// 首页统计数据 getLatestNotices: `/oms2c/commonTools/getLatestNotices`,// 首页统计数据 getCustomerUserAddressList: `/oms2c/emisCustomerAddress/listSimple`, // 获取客户地址列表 -- DONE setDefaultAddressById: `/oms2c/emisCustomerAddress/setDefaultAddressById`, // 设置默认地址 -- DONE deleteAddressById: `/oms2c/emisCustomerAddress/deleteAddressById`, // 删除地址 -- DONE addAddress: `/oms2c/emisCustomerAddress/addAddress`, // 新增地址 -- DONE editAddress: `/oms2c/emisCustomerAddress/editAddress`, // 编辑地址 -- DONE getAddressById: `/oms2c/emisCustomerAddress/getAddressById`, // 查看地址 -- DONE parseAddress: `/oms2c/common/parseAddress`, // 智能地址解析(仅中国) -- DONE getTransLineList: `/oms2c/emisTransLine/listSimple`, // 获取路线列表 -- DONE getTransProductList: `/oms2c/emisTransProduct/listSimple`, // 获取产品列表 submitOrder: `/oms2c/emisWaybill/realSubmitOrder`, // 提交订单 getCustomerUserList: `/oms2c/emisCustomerUser/listSimple`, // 获取网点客户列表 getPickStaffList: `/oms2c/emisStaff/getStaffList`, // 获取操作、收派 员用户列表 getGoodsList: `/oms2c/emisGoods/listSimple`, // 获取历史--货物列表 -- DONE getHotGoodsList: `/oms2c/emisGoods/listHotGoods`, // 获取热门--货物列表 -- DONE getMonthpayAccountList: `/oms2c/emisMonthpayAccount/listSimple`, // 月结账号列表 -- DONE getCaculteDestSite: `/oms2c/emisDestination/getDestSite`, // 自动计算目的地 -- DONE getCaculteSendSite: `/oms2c/emisDestination/getSendSite`, // 自动计算寄件网点 -- DONE getLisWarehouse: `/oms2c/emisWaybill/listWmsWarehouse`, // 仓库列表 -- DONE getListBindSalesmen: `/oms2c/emisWaybill/listBindSalesmen`, // 绑定业务员列表 -- DONE queryNewSalesmen: `/oms2c/emisWaybill/queryNewSalesmen`, // 查询所有业务员-根据手机号等条件 -- DONE bindSalesmen: `/oms2c/emisWaybill/bindSalesmen`, // 绑定业务员 -- DONE getSendSiteList: `/oms2c/emisSite/listSimple`, // 出发地-网点列表 calcWaybillFee: `/oms2c/emisWaybill/calcWaybillFee`, // 计算运费 warehouseInList: `/oms2c/emisWarehouseIn/listSimple`, // 下单-进仓单列表 getOrderList: `/oms2c/emisWaybill/listSimple`, // 订单列表 -- DONE getOrderDetail: `/oms2c/emisWaybill/getWaybillDetail`, // 订单详情 -- DONE cancelOrder: `/emis/emisWaybill/cancelOrder`, // 取消订单 -- DONE sendBindMonthPayCode: `/oms2c/emisWaybill/bindMonthPayCode`, // 绑月结卡-发送邮件验证码 -- DONE verifyBindMonthPayCode: `/oms2c/emisWaybill/verifyBindMonthPayCode`, // 确认绑定月结卡 -- DONE scanRecord: `/oms2c/emisTmsScanRecord/scan`, // 扫描- 揽收 getRealGetWaybillPrintData: `/oms2c/emisWaybill/realGetPrintList`, // 运单 打印数据 queryPrintListSimple: `/oms2c/emisWaybill/queryPrintListSimple`, // 运单 打印数据-列表 getNextStationList: `/oms2c/emisTmsScanRecord/getNextStationList`, // 获取-扫描下一网点 getPreStationList: `/oms2c/emisTmsScanRecord/getPreStationList`, // 获取-扫描上一网点 preCalcWaybillFee: `/oms2c/emisWaybill/preCalcWaybillFee`, // 报价试算 -- DONE calcProductFee: `/oms2c/emisWaybill/calcProductFee`, // 下单-报价试算 -- DONE deleteBindSalemen: `/oms2c/emisWaybill/deleteBindSalemen`, // 删除绑定快递员 -- DONE setDefaultBindSalesmen: `/oms2c/emisWaybill/setDefaultBindSalesmen`, // 设置默认快递员 -- DONE queryWaybillTraceInfo: `/oms2c/emisTmsScanRecord/queryWaybillTraceInfo`, // 物流轨迹 -- DONE queryProblemTypeList: `/oms2c/emisProblemType/listSimple`, // 问题件类型列表 registerProblemInfo: `/oms2c/emisWaybillProblemInfo/registerProblemInfo`, // 问题件登记 queryScanWaybillList: `/oms2c/emisWaybill/queryScanWaybillList`, // 1-发件清单 2-到件清单 3-派件清单 }