转账 - 管理后台新增转账示例

This commit is contained in:
jason
2023-10-29 23:48:10 +08:00
parent e5d6a9dae1
commit 55a961e862
8 changed files with 461 additions and 1 deletions

View File

@ -0,0 +1,18 @@
import request from '@/config/axios'
export interface TransferVO {
appId: number
channelCode: string
merchantTransferId: string
type: number
price: number
subject: string
userName: string
alipayLogonId: string
openid: string
}
// 新增转账单
export const createTransfer = async (data: TransferVO) => {
return await request.post({ url: `/pay/transfer/create`, data })
}