Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Casbin ¶
type Casbin struct { RoleId int `json:"role_id" form:"role_id" description:"角色ID"` CasbinRule []CasbinRule `json:"casbin_infos" description:"权限模型列表"` }
func (Casbin) CasbinList ¶
type CasbinRule ¶
type Role ¶
func (*Role) RemoveSysRole ¶
func (r *Role) RemoveSysRole()
func (*Role) SysRoleList ¶
func (r *Role) SysRoleList()
type SysUser ¶
type SysUser struct { UserId int NickName string UserName string Password string RePassword string PhoneNumber string Sex int Email string PageNum int PageSize int }
func (*SysUser) ExistByPhoneNumber ¶
ExistByPhoneNumber 手机号是否存在
func (*SysUser) ExistByUserId ¶
ExistByUserId 用户ID是否存在
func (*SysUser) ExistByUserName ¶
ExistByUserName 用户名是否存在
type UserVoucher ¶
func (*UserVoucher) FetchVoucher ¶
func (uv *UserVoucher) FetchVoucher() (int64, error)
Click to show internal directories.
Click to hide internal directories.