小程序一些功能更新

This commit is contained in:
李琦
2026-09-29 15:48:13 +08:00
parent 3bb7fa8db3
commit 75499ba85c
29 changed files with 1299 additions and 196 deletions

View File

@@ -368,6 +368,8 @@ type FeedbackItem struct {
Content string `json:"content"`
Contact string `json:"contact"`
Status int `json:"status"`
Reply string `json:"reply"` // 官方回复内容(空=未回复)
ReplyAt string `json:"reply_at"` // 最近回复时间
CreatedAt string `json:"created_at"`
}
@@ -382,9 +384,11 @@ type FeedbackListRes struct {
Total int `json:"total"`
}
// FeedbackHandleReq 反馈处理:标记已处理,可同时携带官方回复(回复后用户端红点提醒)。
type FeedbackHandleReq struct {
g.Meta `path:"/feedback/handle" method:"post" tags:"admin" summary:"标记已处理"`
Id int64 `v:"required" json:"id"`
g.Meta `path:"/feedback/handle" method:"post" tags:"admin" summary:"反馈处理(标记已处理,可回复)"`
Id int64 `v:"required" json:"id"`
Reply string `json:"reply"`
}
type FeedbackHandleRes struct{}