modified 增加结构体描述,完善自动化文档
This commit is contained in:
@@ -2,13 +2,13 @@ package request
|
||||
|
||||
// Paging common input parameter structure
|
||||
type PageInfo struct {
|
||||
Page int `json:"page" form:"page"`
|
||||
PageSize int `json:"pageSize" form:"pageSize"`
|
||||
Page int `json:"page" form:"page"` // 页码
|
||||
PageSize int `json:"pageSize" form:"pageSize"` // 每页大小
|
||||
}
|
||||
|
||||
// Find by id structure
|
||||
type GetById struct {
|
||||
Id float64 `json:"id" form:"id"`
|
||||
Id float64 `json:"id" form:"id"` // 主键ID
|
||||
}
|
||||
|
||||
type IdsReq struct {
|
||||
@@ -17,7 +17,7 @@ type IdsReq struct {
|
||||
|
||||
// Get role by id structure
|
||||
type GetAuthorityId struct {
|
||||
AuthorityId string
|
||||
AuthorityId string // 角色ID
|
||||
}
|
||||
|
||||
type Empty struct{}
|
||||
|
Reference in New Issue
Block a user