余额充值,支付

This commit is contained in:
Jason
2023-04-03 15:13:49 +08:00
parent 2b890b65f3
commit b50df74802
42 changed files with 2554 additions and 44 deletions

View File

@@ -0,0 +1,26 @@
import request from '@/utils/request'
// 获取支付方式
export function getPayWay() {
return request.get({ url: '/setting/payment/method' })
}
// 设置支付方式
export function setPayWay(params: any) {
return request.post({ url: '/setting/payment/editMethod', params })
}
// 获取支付方式
export function getPayConfigLists() {
return request.get({ url: '/setting/payment/list' })
}
// 设置支付方式
export function setPayConfig(params: any) {
return request.post({ url: '/setting/payment/editConfig', params })
}
// 设置支付方式
export function getPayConfig(params: any) {
return request.get({ url: '/setting/payment/detail', params })
}