Documentation ¶
Index ¶
- type BaseCommController
- func (c *BaseCommController) Logout(ctx context.Context, req *BaseCommLogoutReq) (res *cool.BaseRes, err error)
- func (c *BaseCommController) Permmenu(ctx context.Context, req *BaseCommPermmenuReq) (res *cool.BaseRes, err error)
- func (c *BaseCommController) Person(ctx context.Context, req *BaseCommPersonReq) (res *cool.BaseRes, err error)
- func (c *BaseCommController) PersonUpdate(ctx g.Ctx, req *PersonUpdateReq) (res *cool.BaseRes, err error)
- func (c *BaseCommController) Upload(ctx context.Context, req *BaseCommUploadReq) (res *cool.BaseRes, err error)
- func (c *BaseCommController) UploadMode(ctx context.Context, req *BaseCommUploadModeReq) (res *cool.BaseRes, err error)
- type BaseCommLogoutReq
- type BaseCommPermmenuReq
- type BaseCommPersonReq
- type BaseCommUploadModeReq
- type BaseCommUploadReq
- type BaseOpen
- func (c *BaseOpen) BaseOpenCaptcha(ctx context.Context, req *v1.BaseOpenCaptchaReq) (res *cool.BaseRes, err error)
- func (c *BaseOpen) Eps(ctx context.Context, req *BaseOpenEpsReq) (res *cool.BaseRes, err error)
- func (c *BaseOpen) Login(ctx context.Context, req *v1.BaseOpenLoginReq) (res *cool.BaseRes, err error)
- func (c *BaseOpen) RefreshToken(ctx context.Context, req *RefreshTokenReq) (res *cool.BaseRes, err error)
- type BaseOpenEpsReq
- type BaseSysDepartmentController
- type BaseSysLogController
- type BaseSysMenuController
- type BaseSysParamController
- type BaseSysParamHtmlReq
- type BaseSysRoleController
- type BaseSysUserController
- type ClearReq
- type GetKeepReq
- type OrderReq
- type PersonUpdateReq
- type RefreshTokenReq
- type SetKeepReq
- type UserMoveReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseCommController ¶
type BaseCommController struct {
*cool.ControllerSimple
}
func (*BaseCommController) Logout ¶
func (c *BaseCommController) Logout(ctx context.Context, req *BaseCommLogoutReq) (res *cool.BaseRes, err error)
Logout BaseCommLogout 方法
func (*BaseCommController) Permmenu ¶
func (c *BaseCommController) Permmenu(ctx context.Context, req *BaseCommPermmenuReq) (res *cool.BaseRes, err error)
Permmenu 方法
func (*BaseCommController) Person ¶
func (c *BaseCommController) Person(ctx context.Context, req *BaseCommPersonReq) (res *cool.BaseRes, err error)
Person 方法
func (*BaseCommController) PersonUpdate ¶
func (c *BaseCommController) PersonUpdate(ctx g.Ctx, req *PersonUpdateReq) (res *cool.BaseRes, err error)
PersonUpdate 方法
func (*BaseCommController) Upload ¶
func (c *BaseCommController) Upload(ctx context.Context, req *BaseCommUploadReq) (res *cool.BaseRes, err error)
Upload 方法
func (*BaseCommController) UploadMode ¶
func (c *BaseCommController) UploadMode(ctx context.Context, req *BaseCommUploadModeReq) (res *cool.BaseRes, err error)
UploadMode 方法
type BaseCommLogoutReq ¶
type BaseCommPersonReq ¶
type BaseCommPersonReq struct { g.Meta `path:"/person" method:"GET"` Authorization string `json:"Authorization" in:"header"` }
BaseCommPersonReq 接口请求参数
type BaseCommUploadModeReq ¶
type BaseCommUploadReq ¶
type BaseOpen ¶
type BaseOpen struct { *cool.ControllerSimple // contains filtered or unexported fields }
func (*BaseOpen) BaseOpenCaptcha ¶
func (c *BaseOpen) BaseOpenCaptcha(ctx context.Context, req *v1.BaseOpenCaptchaReq) (res *cool.BaseRes, err error)
验证码接口
func (*BaseOpen) Login ¶
func (c *BaseOpen) Login(ctx context.Context, req *v1.BaseOpenLoginReq) (res *cool.BaseRes, err error)
login 接口
func (*BaseOpen) RefreshToken ¶
func (c *BaseOpen) RefreshToken(ctx context.Context, req *RefreshTokenReq) (res *cool.BaseRes, err error)
RefreshToken 刷新token
type BaseSysDepartmentController ¶
type BaseSysDepartmentController struct {
*cool.Controller
}
type BaseSysLogController ¶
type BaseSysLogController struct {
*cool.Controller
}
func (*BaseSysLogController) GetKeep ¶
func (c *BaseSysLogController) GetKeep(ctx g.Ctx, req *GetKeepReq) (res *cool.BaseRes, err error)
GetKeep 获取保留天数
func (*BaseSysLogController) SetKeep ¶
func (c *BaseSysLogController) SetKeep(ctx g.Ctx, req *SetKeepReq) (res *cool.BaseRes, err error)
SetKeep 设置保留天数
type BaseSysMenuController ¶
type BaseSysMenuController struct {
*cool.Controller
}
type BaseSysParamController ¶
type BaseSysParamController struct {
*cool.Controller
}
func (*BaseSysParamController) Html ¶
func (c *BaseSysParamController) Html(ctx g.Ctx, req *BaseSysParamHtmlReq) (res *cool.BaseRes, err error)
Html 根据配置参数key获取网页内容(富文本)
type BaseSysParamHtmlReq ¶
type BaseSysParamHtmlReq struct { g.Meta `path:"/html" method:"GET"` Key string `v:"required#请输入key"` }
BaseSysParamHtmlReq 请求参数
type BaseSysRoleController ¶
type BaseSysRoleController struct {
*cool.Controller
}
type BaseSysUserController ¶
type BaseSysUserController struct {
*cool.Controller
}
func (*BaseSysUserController) Move ¶
func (c *BaseSysUserController) Move(ctx context.Context, req *UserMoveReq) (res *cool.BaseRes, err error)
type GetKeepReq ¶
GetKeepReq
type OrderReq ¶
type OrderReq struct { g.Meta `path:"/order" method:"GET"` Authorization string `json:"Authorization" in:"header"` }
OrderReq 接口请求参数
type PersonUpdateReq ¶
type RefreshTokenReq ¶
type RefreshTokenReq struct { g.Meta `path:"/refreshToken" method:"GET"` RefreshToken string `json:"refreshToken" v:"required#refreshToken不能为空"` }
RefreshTokenReq 刷新token请求
type SetKeepReq ¶
type SetKeepReq struct { g.Meta `method:"POST" path:"/setKeep" summary:"设置保留天数" tags:"系统日志"` Value int `json:"value" v:"required#请输入保留天数"` }
SetKeepReq
type UserMoveReq ¶
Click to show internal directories.
Click to hide internal directories.