yaozc
2023-01-12 6e56d6f0343dcd442b6cbe02478149f6e5da653d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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'
  })
}