Files
jk8_admin/web/src/api/backend/user/moneyLog.ts

30 lines
608 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: { year: number | string }) {
return createAxios({
url: url + 'annualReport',
method: 'get',
params,
})
}