交易明细页面添加操作按钮

This commit is contained in:
Eamon
2026-06-18 18:16:42 +08:00
parent 01f4f5343d
commit e70cfbd9a8
4 changed files with 202 additions and 3 deletions

View File

@@ -30,3 +30,22 @@ export async function getTrade(params: {
}) {
return callByUser<PageRecord<Trade>>("/api/admin/trade/page/of-user", params)
}
export async function updateTradeRemark(params: {
trade_no: string
remark: string
}) {
return callByUser<PageRecord<Trade>>("/api/admin/trade/update/remark", params)
}
type PayCloseData = {
status: 0 | 1 | 2
TransId: string
}
export async function getTradeCheckk(params: {
trade_no: string
method: number
}) {
return callByUser<PayCloseData>("/api/admin/trade/check", params)
}