开始做登录

This commit is contained in:
2024-03-15 17:20:54 +08:00
parent b9335b4ff8
commit 633cff358d
1423 changed files with 35817 additions and 19 deletions

22
service/recharge.js Normal file
View File

@@ -0,0 +1,22 @@
import apis from '../utils/request';
const { GET, POST, PUT, DELETE } = apis
// 获取充值记录
export const getRechargeList = async function(year) {
return await GET(`/wx/getRechargeList?year=${year}`);
}
// 预备充值请求
export const requestRecharge = async function(data) {
return await POST(`/wx/requestRecharge`, data);
}
// 获取充值记录详情
export const getRechargeDetail = async function(rid) {
return await GET(`/wx/getRechargeDetail/${rid}`);
}
// 退费
export const returnFee = async function(data) {
return await POST(`/wx/return`, data);
}