Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateFeedBackRequest ¶
type CreateFeedBackRequest struct { //用户ID 无需填写 控制器自动校验 // // required: true // min: 3 UID int `json:"-"` // 创建反馈的留言内容 // // required: true // min: 6 Comment string `json:"Comment"` }
CreateFeedBackRequest defined create feedback json bindings
type FeedbackHandlers ¶
type FeedbackHandlers struct {
*basichandlers.Basic
}
FeedbackHandlers APIs
func (*FeedbackHandlers) Create ¶
func (f *FeedbackHandlers) Create() gin.HandlerFunc
Create defined feedback API create request @Summary 创建反馈 @Tags 运营服务 @Description 创建反馈,创建后将入库,处理结果通知将以短信模式下发 @Accept json @Produce json @Param CreateFeedBackRequest body feedbackhandlers.CreateFeedBackRequest true "创建" @Success 200 "{"code":200,"data":{},"message":"操作成功"}" @Router /feedback/create [post] @Param Authorization header string false "Authentication header"
Click to show internal directories.
Click to hide internal directories.