This commit is contained in:
2025-05-21 15:45:10 +08:00
parent f6ed5b04de
commit 5d96054c0c
44 changed files with 2460 additions and 2126 deletions

View File

@@ -257,6 +257,76 @@ const system = {
data: data
});
},
addWithdrawal: async (data) => {
return request({
method: MethodsENUM.POST,
url: "/user/addWithdrawal",
data: data
});
},
getWithdrawal: async (data) => {
return request({
method: MethodsENUM.POST,
url: "/user/getWithdrawal",
data: data
});
},
getWithdrawalInfo: async (id) => {
return request({
method: MethodsENUM.POST,
url: "/user/getWithdrawalInfo",
data: {id}
});
},
editWithdrawal: async (data) => {
return request({
method: MethodsENUM.POST,
url: "/user/editWithdrawal",
data: data
});
},
setDefaultWithdrawal: async (id) => {
return request({
method: MethodsENUM.POST,
url: "/user/setDefaultWithdrawal",
data: {id}
});
},
delWithdrawal: async (id) => {
return request({
method: MethodsENUM.POST,
url: "/user/delWithdrawal",
data: {id}
});
},
getUserMoneyLog: async (data) => {
return request({
method: MethodsENUM.POST,
url: "/user/getUserMoneyLog",
data: data
});
},
postWithdrawal: async (data) => {
return request({
method: MethodsENUM.POST,
url: "/user/postWithdrawal",
data: data
});
},
getDefaultWithdrawalInfo: async (data) => {
return request({
method: MethodsENUM.POST,
url: "/user/getDefaultWithdrawalInfo",
data: data
});
},
getWithdrawLog: async (data) => {
return request({
method: MethodsENUM.POST,
url: "/user/getWithdrawLog",
data: data
});
},
}
export default system;