Files
lckt-server/model/article/request/article.go

17 lines
513 B
Go

package request
import "git.echol.cn/loser/lckt/model/common/request"
type GetList struct {
request.PageInfo
Title string `json:"title" form:"title"` // 文章标题
// 分类ID
CategoryId int `json:"categoryId" form:"categoryId"` // 分类ID
TeacherId int `json:"teacherId" form:"teacherId"` // 讲师ID
Status int `json:"status" form:"status"` // 状态 0-草稿 1-已发布 2-待审核 3-审核不通过
}
type DeleteIds struct {
Ids []int `json:"ids" form:"ids" binding:"required"`
}