This commit is contained in:
唐明明
2024-01-03 11:10:25 +08:00
15 changed files with 734 additions and 40 deletions

48
apis/interfaces/custom.js Normal file
View File

@@ -0,0 +1,48 @@
/**
* Web -zdx
* moduleName: 线下业务订单类型
*/
import { request } from '../index'
// 获取业务类型
const customTypes = () =>{
return request({
url: "custom_type/index",
})
}
// 提交办理线下订单
const customTypeStore = (customType,data) => {
return request({
url : `custom_type/${customType}/store`,
method : "POST",
data
})
}
// 取消线下订单
const customTypeCancel = (orderId, data) => {
return request({
url : `custom_type/order/${orderId}/cancel`,
method : 'DELETE',
data
})
}
// 线下订单列表
const customTypelists = data => {
return request({
url : 'custom_type/order/lists',
data
})
}
export {
customTypes,
customTypeStore,
customTypeCancel,
customTypelists
}

View File

@@ -216,6 +216,16 @@ const orderLog = (id, page) => {
})
}
// 通用订单详情
const unifyInfo = data => {
return request({
url : 'unify/order/info',
method : 'POST',
data
})
}
// 支付订单
export {
lists,
@@ -243,5 +253,6 @@ export {
getConfirmSchemeInfo,
sbuConfirmScheme,
orderCancel,
orderLog
orderLog,
unifyInfo
}