feat: 反馈处理增加回复功能 — 管理员可回复用户反馈并推送通知

This commit is contained in:
2026-06-08 17:02:34 +08:00
parent a1e62e487d
commit 91ff95ea48
2 changed files with 187 additions and 3 deletions

View File

@@ -30,6 +30,6 @@ export function getFeedbackList(params?: { page?: number; pageSize?: number; sta
}
/** 更新反馈状态(管理员) */
export function updateFeedbackStatus(id: number, status: string) {
return request({ url: `/feedback/${id}/status`, method: 'PUT', data: { status } })
export function updateFeedbackStatus(id: number, status: string, admin_reply?: string) {
return request({ url: `/feedback/${id}/status`, method: 'PUT', data: { status, admin_reply } })
}