小程序一些功能更新
This commit is contained in:
@@ -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{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user