修改接口说明
This commit is contained in:
@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/feedback" method:"get" tags:"Feedback" summary:"根据用户查询反馈列表"`
|
||||
g.Meta `path:"/feedback" method:"get" tags:"Feedback" summary:"(系统、商户门店后台)根据用户查询反馈列表"`
|
||||
//UserId int64 `json:"userId" v:"required#用户ID不能为空" dc:"用户ID"`
|
||||
Status int `json:"status" v:"required#状态不能为空" dc:"状态"`
|
||||
Page int `json:"page" v:"required#页数不能为空" dc:"页数"`
|
||||
@ -21,7 +21,7 @@ type ListRes struct {
|
||||
}
|
||||
|
||||
type CreateReq struct {
|
||||
g.Meta `path:"/feedback" method:"post" tags:"Feedback" summary:"创建反馈"`
|
||||
g.Meta `path:"/feedback" method:"post" tags:"Feedback" summary:"(PC)创建反馈"`
|
||||
Title string `json:"title" v:"required#标题不能为空" dc:"标题"`
|
||||
Content string `json:"content" v:"required#反馈内容不能为空" dc:"反馈内容"`
|
||||
FeedbackType int `json:"feedbackType" v:"required#反馈类型不能为空" dc:"反馈类型"`
|
||||
@ -34,7 +34,7 @@ type CreateRes struct {
|
||||
}
|
||||
|
||||
type UpdateReq struct {
|
||||
g.Meta `path:"/feedback" method:"put" tags:"Feedback" summary:"更新反馈"`
|
||||
g.Meta `path:"/feedback" method:"put" tags:"Feedback" summary:"(系统、商户门店后台)更新反馈"`
|
||||
Id int64 `json:"id" v:"required#ID不能为空" dc:"ID"`
|
||||
Title string `json:"title" v:"required#标题不能为空" dc:"标题"`
|
||||
Content string `json:"content" v:"required#反馈内容不能为空" dc:"反馈内容"`
|
||||
@ -51,7 +51,7 @@ type UpdateRes struct {
|
||||
//}
|
||||
|
||||
type UpdateReplyReq struct {
|
||||
g.Meta `path:"/feedback/reply" method:"put" tags:"Feedback" summary:"更新反馈回复"`
|
||||
g.Meta `path:"/feedback/reply" method:"put" tags:"Feedback" summary:"(系统、商户门店后台)更新反馈回复"`
|
||||
Id int64 `json:"id" v:"required#ID不能为空" dc:"ID"`
|
||||
Reply string `json:"reply" v:"required#回复内容不能为空" dc:"回复内容"`
|
||||
Status int `json:"status" v:"required#状态不能为空" dc:"状态"`
|
||||
@ -62,7 +62,7 @@ type UpdateReplyRes struct {
|
||||
}
|
||||
|
||||
type InfoFeedbackReq struct {
|
||||
g.Meta `path:"/feedback/{id}" method:"get" tags:"Feedback" summary:"获取反馈信息"`
|
||||
g.Meta `path:"/feedback/{id}" method:"get" tags:"Feedback" summary:"(系统、商户门店后台)获取反馈信息"`
|
||||
Id int64 `in:"path" json:"id" v:"required#ID不能为空" dc:"ID"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user