Documentation ¶
Index ¶
- type Controller
- func (receiver *Controller) GinHandleLogin(ctx *gin.Context)
- func (receiver *Controller) GinHandleLogout(ctx *gin.Context)
- func (receiver *Controller) GinHandleMyMenu(ctx *gin.Context)
- func (receiver *Controller) Login(req *admin.LoginRequest, ctx http.Context) (*admin.LoginResponse, error)
- func (receiver *Controller) Logout(req *admin.LogoutRequest, ctx http.Context) (*admin.LogoutResponse, error)
- func (receiver *Controller) MyMenu(req *admin.MyMenuRequest, ctx http.Context) (*admin.MyMenuResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { }
Controller @Bean
func (*Controller) GinHandleLogin ¶
func (receiver *Controller) GinHandleLogin(ctx *gin.Context)
GinHandleLogin gin原始路由处理 http.Post(/login)
func (*Controller) GinHandleLogout ¶
func (receiver *Controller) GinHandleLogout(ctx *gin.Context)
GinHandleLogout gin原始路由处理 http.Post(/logout)
func (*Controller) GinHandleMyMenu ¶
func (receiver *Controller) GinHandleMyMenu(ctx *gin.Context)
GinHandleMyMenu gin原始路由处理 http.Get(/system/menu/my)
func (*Controller) Login ¶
func (receiver *Controller) Login(req *admin.LoginRequest, ctx http.Context) (*admin.LoginResponse, error)
Login
func (*Controller) Logout ¶
func (receiver *Controller) Logout(req *admin.LogoutRequest, ctx http.Context) (*admin.LogoutResponse, error)
Logout
func (*Controller) MyMenu ¶
func (receiver *Controller) MyMenu(req *admin.MyMenuRequest, ctx http.Context) (*admin.MyMenuResponse, error)
MyMenu 登陆
Click to show internal directories.
Click to hide internal directories.