Files
jk8_admin/web/src/api/backend/user/moneyLog.ts
2026-06-08 17:18:45 +08:00

30 lines
606 B
TypeScript

import createAxios from '/@/utils/axios'
export const url = '/admin/user.MoneyLog/'
export function add(userId: string) {
return createAxios({
url: url + 'add',
method: 'get',
params: {
userId: userId,
},
})
}
export function logHistory(params: { id: number | string }) {
return createAxios({
url: url + 'logHistory',
method: 'get',
params,
})
}
export function annualReport(params: { id: number | string }) {
return createAxios({
url: url + 'annualReport',
method: 'get',
params,
})
}