书籍列表接口新增参数
This commit is contained in:
@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/feedback" tags:"Backend/Admin" method:"get" summary:"获取反馈列表"`
|
||||
g.Meta `path:"/feedback" tags:"Backend/Feedback" method:"get" summary:"获取反馈列表"`
|
||||
Page int `json:"page" dc:"页码"`
|
||||
Size int `json:"size" dc:"每页数量"`
|
||||
UserId int64 `json:"userId" dc:"用户ID"`
|
||||
@ -19,7 +19,7 @@ type ListRes struct {
|
||||
}
|
||||
|
||||
type AddReq struct {
|
||||
g.Meta `path:"/feedback" tags:"APP" method:"post" summary:"新增反馈"`
|
||||
g.Meta `path:"/feedback" tags:"APP/Feedback" method:"post" summary:"新增反馈"`
|
||||
Content string `json:"content" dc:"反馈内容" v:"required"`
|
||||
}
|
||||
type AddRes struct {
|
||||
|
||||
Reference in New Issue
Block a user