项目初始化
This commit is contained in:
37
sheep/api/pay/point.js
Normal file
37
sheep/api/pay/point.js
Normal file
@@ -0,0 +1,37 @@
|
||||
import request from '@/sheep/request';
|
||||
|
||||
const PayPointApi = {
|
||||
// 获得钱包充值套餐列表
|
||||
getPointRechargePackageList: () => {
|
||||
return request({
|
||||
url: '/pay/point-recharge-package/list',
|
||||
method: 'GET',
|
||||
custom: {
|
||||
showError: false,
|
||||
showLoading: false,
|
||||
},
|
||||
});
|
||||
},
|
||||
// 创建钱包充值记录(发起充值)
|
||||
createPointRecharge: (data) => {
|
||||
return request({
|
||||
url: '/pay/point-recharge/create',
|
||||
method: 'POST',
|
||||
data,
|
||||
});
|
||||
},
|
||||
// 获得钱包充值记录分页
|
||||
getPointRechargePage: (params) => {
|
||||
return request({
|
||||
url: '/pay/point-recharge/page',
|
||||
method: 'GET',
|
||||
params,
|
||||
custom: {
|
||||
showError: false,
|
||||
showLoading: false,
|
||||
},
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
export default PayPointApi;
|
Reference in New Issue
Block a user