Documentation
¶
Index ¶
- type AddMenuAuthorityInfo
- type CasbinInReceive
- type CasbinInfo
- type ChangePasswordStruct
- type ColumnReq
- type CustomClaims
- type DBReq
- type Empty
- type GetAuthorityId
- type GetById
- type IdsReq
- type Login
- type PageInfo
- type Register
- type SearchApiParams
- type SetUserAuth
- type SysDictionaryDetailSearch
- type SysDictionarySearch
- type SysOperationRecordSearch
- type TableReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMenuAuthorityInfo ¶
type AddMenuAuthorityInfo struct { Menus []model.SysBaseMenu AuthorityId string }
Add menu authority info structure
type CasbinInReceive ¶
type CasbinInReceive struct { AuthorityId string `json:"authorityId"` CasbinInfos []CasbinInfo `json:"casbinInfos"` }
Casbin structure for input parameters
type CasbinInfo ¶
Casbin info structure
type ChangePasswordStruct ¶
type ChangePasswordStruct struct { Username string `json:"username"` Password string `json:"password"` NewPassword string `json:"newPassword"` }
Modify password structure
type CustomClaims ¶
type CustomClaims struct { UUID uuid.UUID ID uint Username string NickName string AuthorityId string BufferTime int64 jwt.StandardClaims }
Custom claims structure
type Login ¶
type Login struct { Username string `json:"username"` Password string `json:"password"` Captcha string `json:"captcha"` CaptchaId string `json:"captchaId"` }
User login structure
type PageInfo ¶
type PageInfo struct { Page int `json:"page" form:"page"` PageSize int `json:"pageSize" form:"pageSize"` }
Paging common input parameter structure
type Register ¶
type Register struct { Username string `json:"userName"` Password string `json:"passWord"` NickName string `json:"nickName" gorm:"default:'QMPlusUser'"` HeaderImg string `json:"headerImg" gorm:"default:'http://www.henrongyi.top/avatar/lufu.jpg'"` AuthorityId string `json:"authorityId" gorm:"default:888"` }
User register structure
type SearchApiParams ¶
type SearchApiParams struct { model.SysApi PageInfo OrderKey string `json:"orderKey"` Desc bool `json:"desc"` }
api分页条件查询及排序结构体
type SetUserAuth ¶
Modify user's auth structure
type SysDictionaryDetailSearch ¶
type SysDictionaryDetailSearch struct { model.SysDictionaryDetail PageInfo }
type SysDictionarySearch ¶
type SysDictionarySearch struct { model.SysDictionary PageInfo }
type SysOperationRecordSearch ¶
type SysOperationRecordSearch struct { model.SysOperationRecord PageInfo }
Click to show internal directories.
Click to hide internal directories.