weicd
2023-11-07 d38392f1bc5b437feaec39da315926e1f5bdccf2
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'
  })
}