Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryPageWithMember ¶
Types ¶
type GetAuthorityId ¶
type GetAuthorityId struct {
AuthorityId int `json:"authorityId" form:"authorityId"` // 角色ID
}
GetAuthorityId Get role by id structure
type GetById ¶
type GetById struct {
Id int `json:"id" form:"id"` // 主键ID
}
GetById Find by id structure
type MemberPageSearch ¶
type MemberPageSearch struct {
PageSearch
MemberId uuid.UUID `json:"memberId" form:"memberId" `
}
func DefaultMemberPageSearch ¶
func DefaultMemberPageSearch(uid uuid.UUID) MemberPageSearch
type PageInfo ¶
type PageInfo struct {
Page int `json:"page" form:"page"` // 页码
PageSize int `json:"pageSize" form:"pageSize"` // 每页大小
Keyword string `json:"keyword" form:"keyword"` //关键字
}
PageInfo Paging common input parameter structure
func DefaultPageInfo ¶
func DefaultPageInfo() PageInfo
type PageSearch ¶
type PageSearch struct {
StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
EndCreatedAt *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
PageInfo
}
func DefaultPageSearch ¶
func DefaultPageSearch() PageSearch
Click to show internal directories.
Click to hide internal directories.