交易明细操作检查订单页面添加完成订单接口调用 & 充值和扣款接口新增操作说明 字段
This commit is contained in:
@@ -39,7 +39,7 @@ export async function updateTradeRemark(params: {
|
||||
}
|
||||
|
||||
type PayCloseData = {
|
||||
status: 0 | 1 | 2
|
||||
Status: 0 | 1 | 2
|
||||
TransId: string
|
||||
}
|
||||
|
||||
@@ -49,3 +49,27 @@ export async function getTradeCheckk(params: {
|
||||
}) {
|
||||
return callByUser<PayCloseData>("/api/admin/trade/check", params)
|
||||
}
|
||||
|
||||
export async function tradeComplete(params: {
|
||||
trade_no: string
|
||||
method: number
|
||||
user_id: number
|
||||
}) {
|
||||
return callByUser<PayCloseData>("/api/admin/trade/complete", params)
|
||||
}
|
||||
|
||||
export async function tradeConvert(params: {
|
||||
trade_no: string
|
||||
method: number
|
||||
user_id: number
|
||||
}) {
|
||||
return callByUser<PayCloseData>("/api/admin/trade/convert", params)
|
||||
}
|
||||
|
||||
export async function tradeCancel(params: {
|
||||
trade_no: string
|
||||
method: number
|
||||
user_id: number
|
||||
}) {
|
||||
return callByUser<PayCloseData>("/api/admin/trade/cancel", params)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user