refactor(reaction): 后台反馈统计独立成 reaction 目录,去掉排序、加最近评价时间
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -287,14 +287,9 @@ export function createAnnouncement(announcement: AnnouncementEdit) {
|
||||
return http.post("admin/announcement", announcement)
|
||||
}
|
||||
|
||||
export function getReactionStats(
|
||||
offset = 0,
|
||||
limit = 10,
|
||||
problem: string,
|
||||
ordering: string,
|
||||
) {
|
||||
export function getReactionStats(offset = 0, limit = 10, problem: string) {
|
||||
return http.get("admin/reaction", {
|
||||
params: { offset, limit, problem, ordering },
|
||||
params: { offset, limit, problem },
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user