mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-04-23 16:08:38 +00:00
转账 - 管理后台新增转账示例
This commit is contained in:
18
src/api/pay/transfer/index.ts
Normal file
18
src/api/pay/transfer/index.ts
Normal 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 })
|
||||
}
|
||||
Reference in New Issue
Block a user