...
|
...
|
@@ -95,11 +95,12 @@ const domainApis = { |
|
|
//订单管理
|
|
|
orderList: '/erp-gateway-web/shop/orders/queryPageOrdersByStatus', //订单列表
|
|
|
orderDetail: '/erp-gateway-web/shop/orders/queryOrdersDetail', //订单详情
|
|
|
queryOrderGoods: '/erp-gateway-web/cs/order/goods/query/containProductName', //获取订单商品
|
|
|
queryOrderGoods: '/erp-gateway-web/shop/orders/queryOrdersGoodsAndPrice', //获取订单商品
|
|
|
queryOrderGoodsPromos: '/erp-gateway-web/cs/order/goodspromos/query', //获取订单商品的促销
|
|
|
queryOrderCoupons: '/erp-gateway-web/cs/order/coupons', //获取订单优惠券
|
|
|
queryOrderPromos: '/erp-gateway-web/cs/order/promotions', //获取订单促销
|
|
|
confirmExpress: '//erp-gateway-web/shop/orders/ordersUpdateExpress', //订单确认物流
|
|
|
confirmExpress: '/erp-gateway-web/shop/orders/ordersUpdateExpress', //订单确认物流
|
|
|
exportOrdersByStatus: '/erp-gateway-web/shop/export/exportOrdersByStatus', //导出订单列表
|
|
|
|
|
|
//物流接口
|
|
|
queryLogisticsList: '/erp-gateway-web/logistics_company/list', //获取物流公司列表
|
...
|
...
|
@@ -210,11 +211,7 @@ if (global.env.Production) { |
|
|
|
|
|
_.each(domainApis, (apis, domainName) => {
|
|
|
_.each(apis, (url, api) => {
|
|
|
if (url.indexOf('http') > -1) {
|
|
|
apis[api] = url;
|
|
|
} else {
|
|
|
apis[api] = _.get(domains, domainName, '') + url;
|
|
|
}
|
|
|
apis[api] = _.get(domains, domainName, '') + url;
|
|
|
});
|
|
|
});
|
|
|
|
...
|
...
|
|