[新增5大业务模块]
This commit is contained in:
@@ -119,7 +119,75 @@ const delegationCancel = id => {
|
||||
method : "DELETE"
|
||||
})
|
||||
}
|
||||
|
||||
// **
|
||||
// 最新五大板块
|
||||
// **
|
||||
// 业务列表
|
||||
const bigfive = data => {
|
||||
return request({
|
||||
url : "bigfive/index",
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 业务详情
|
||||
const bigfiveInfo = (bigFive) => {
|
||||
return request({
|
||||
url : "bigfive/" + bigFive + "/info"
|
||||
})
|
||||
}
|
||||
|
||||
// 办理初始接口
|
||||
const bigfiveInit = (bigFive) => {
|
||||
return request({
|
||||
url : "bigfive/order/" + bigFive + "/init"
|
||||
})
|
||||
}
|
||||
|
||||
// 标的额比例计算
|
||||
const settleAmount = (data, bigFive) => {
|
||||
return request({
|
||||
url : "bigfive/order/" + bigFive + "/settle_amount",
|
||||
method : "POST",
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 三级分类服务费类型
|
||||
const amountType = (bigFive) => {
|
||||
return request({
|
||||
url : "bigfive/order/" + bigFive + "/amount_type",
|
||||
method : "POST"
|
||||
})
|
||||
}
|
||||
|
||||
// 办理业务
|
||||
const bigfiveStore = data => {
|
||||
return request({
|
||||
url : "bigfive/order/store",
|
||||
method : "POST",
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 订单列表
|
||||
const orderLists = data => {
|
||||
return request({
|
||||
url : "bigfive/order/lists",
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 订单取消
|
||||
const orderCancel = (order) => {
|
||||
return request({
|
||||
url : "bigfive/order/" + order + "/cancel",
|
||||
method : "DELETE"
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
categories,
|
||||
jf,
|
||||
@@ -135,6 +203,15 @@ export {
|
||||
delegation,
|
||||
delegationFrom,
|
||||
delegationOrder,
|
||||
delegationCancel
|
||||
delegationCancel,
|
||||
|
||||
bigfive,
|
||||
bigfiveInfo,
|
||||
bigfiveInit,
|
||||
settleAmount,
|
||||
amountType,
|
||||
bigfiveStore,
|
||||
orderLists,
|
||||
orderCancel
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user