weicd
2023-02-01 8f8234f0f3f6e9f139136f66686becff2b69d11f
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'
  })
}