Files
guangChaoChang_acs/qd/src/api/tools/alipay.js
USER-20220102CG\noblelift f861615b4b add qd
2023-08-21 13:38:13 +08:00

26 lines
366 B
JavaScript

import request from '@/utils/request'
export function get() {
return request({
url: 'api/aliPay',
method: 'get'
})
}
export function update(data) {
return request({
url: 'api/aliPay',
data,
method: 'put'
})
}
// 支付
export function toAliPay(url, data) {
return request({
url: 'api/' + url,
data,
method: 'post'
})
}