feedbackhandlers

package
v0.0.0-...-851e7b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2020 License: MIT Imports: 5 Imported by: 0

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"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL