weicd
2022-12-13 d1df516eaa6a596a5a7320e15d855a2c127fc2b5
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'
  })
}