refactor(reaction): 后台反馈统计独立成 reaction 目录,去掉排序、加最近评价时间

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-06 06:15:34 -06:00
parent b3d0c3fcc7
commit 1fb93e6b16
5 changed files with 18 additions and 39 deletions

View File

@@ -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 },
})
}