|
|
@@ -2,31 +2,29 @@ |
|
|
|
|
|
|
|
/* eslint-disable */ |
|
|
|
import { request } from 'umi'; |
|
|
|
import { getStoremanagement,getStoremanagementorder } from '@/global_data'; |
|
|
|
|
|
|
|
export default { |
|
|
|
|
|
|
|
page(data) { |
|
|
|
data.isreport = true; |
|
|
|
return request(`/storemanagementorder/api/Order/ThirdOrderPage`, { |
|
|
|
return request(getStoremanagementorder()+`/api/Order/ThirdOrderPage`, { |
|
|
|
method: 'Post', |
|
|
|
data: data, |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
getThirdOrderInfo(data) { |
|
|
|
return request(`/storemanagementorder/api/Order/GetThirdOrderInfo?thirdOrderId=`+data, { |
|
|
|
return request(getStoremanagementorder()+`/api/Order/GetThirdOrderInfo?thirdOrderId=`+data, { |
|
|
|
method: 'get', |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** 获取订单流水信息*/ |
|
|
|
orderList(data) { |
|
|
|
data.isreport = true; |
|
|
|
return request(`/storemanagementorder/api/Order/PostDetail`, { |
|
|
|
return request(getStoremanagementorder()+`/api/Order/PostDetail`, { |
|
|
|
method: 'Post', |
|
|
|
data: data, |
|
|
|
// params: { ...params }, |
|
|
@@ -38,13 +36,13 @@ export default { |
|
|
|
* 查询店铺信息(设备信息) |
|
|
|
*/ |
|
|
|
srdList(data) { |
|
|
|
return request('/storemanagement/api/shop/alllist', { |
|
|
|
return request(getStoremanagement()+'/storemanagement/api/shop/alllist', { |
|
|
|
method: 'GET' |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
GetFlowExport(data) { |
|
|
|
return request(`/storemanagementorder/api/Order/GetFlowExport`, { |
|
|
|
return request(getStoremanagementorder()+`/api/Order/GetFlowExport`, { |
|
|
|
method: 'Post', |
|
|
|
data: data |
|
|
|
|
|
|
|