v1

package
v0.0.0-...-8af6e0c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReplyCheckReq

type ReplyCheckReq struct {
	g.Meta `path:"reply/check/{id}" method:"post" sm:"审核" tags:"文章回复"`
	*model.IdInput
	Result bool   `json:"result" v:"required" dc:"审核结果:true成功,false失败"`
	Reason string `json:"reason" v:"length:1, 200" dc:"失败原因"`
}

type ReplyCheckRes

type ReplyCheckRes struct {
}

type ReplyCreReq

type ReplyCreReq struct {
	g.Meta `path:"reply/create" method:"post" sm:"新增" tags:"文章回复"`
	*model.ReplyInput
}

type ReplyCreRes

type ReplyCreRes struct {
}

type ReplyDelReq

type ReplyDelReq struct {
	g.Meta `path:"reply/delete/{id}" method:"post" sm:"删除" tags:"文章回复"`
	*model.IdInput
}

type ReplyDelRes

type ReplyDelRes struct {
}

type ReplyListReq

type ReplyListReq struct {
	g.Meta `path:"reply/list" method:"get" sm:"查询列表" tags:"文章回复"`
	*model.ReplyQuery
}

type ReplyListRes

type ReplyListRes struct {
	List  []entity.Reply `json:"list"`
	Total uint           `json:"total"`
}

type ReplyShowReq

type ReplyShowReq struct {
	g.Meta `path:"reply/show/{id}" method:"get" sm:"查询详情" tags:"文章回复"`
	*model.IdInput
}

type ReplyShowRes

type ReplyShowRes struct {
	*model.ReplyShow
}

type ReplyUpdReq

type ReplyUpdReq struct {
	g.Meta `path:"reply/update/{id}" method:"post" sm:"修改" tags:"文章回复"`
	*model.IdInput
	*model.ReplyBody
}

type ReplyUpdRes

type ReplyUpdRes struct {
}

Jump to

Keyboard shortcuts

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