You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
394 B
26 lines
394 B
import request from '@/utils/request'
|
|
|
|
|
|
// 支付
|
|
export function toAliPay(url, data) {
|
|
return request({
|
|
url: '/api/' + url,
|
|
data,
|
|
method: 'post'
|
|
})
|
|
}
|
|
|
|
export function get(id) {
|
|
return request({
|
|
url: '/api/aliPay/' + id,
|
|
method: 'get',
|
|
})
|
|
}
|
|
|
|
export function update( data) {
|
|
return request({
|
|
url: '/api/aliPay/update',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|