fix: 修复 feedback 状态类型 — string → Feedback['status'] 联合类型

This commit is contained in:
2026-06-09 09:02:02 +08:00
parent 6908ffed0e
commit f745f4b4f0
2 changed files with 3 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, admin_reply?: string) {
export function updateFeedbackStatus(id: number, status: Feedback['status'], admin_reply?: string) {
return request({ url: `/feedback/${id}/status`, method: 'PUT', data: { status, admin_reply } })
}