zhangwei
3 天以前 9488f2bcb346c32c64f2c4eb5814fece8726b363
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
26
27
28
29
30
31
import request from '/@/utils/request';
enum Api {
    PagePayList = '/api/sysWechatPay/page',
    CreatePay = '/api/sysWechatPay/payTransactionNative',
    GetRefundListByID = '/api/sysWechatPay/listRefund',
    RefundDomestic = '/api/sysWechatPay/refundDomestic'
}
export const pagePayList = (params?: any) =>
    request({
        url: Api.PagePayList,
        method: 'post',
        data: params,
    });
export const createPay = (params?: any) =>
    request({
        url: Api.CreatePay,
        method: 'post',
        data: params,
    });
export const getRefundListByID = (params?: any) =>
    request({
        url: Api.GetRefundListByID,
        method: 'post',
        data: params,
    });
export const refundDomestic = (params?: any) =>
    request({
        url: Api.RefundDomestic,
        method: 'post',
        data: params,
    });