mirror of
https://github.com/bufanyun/hotgo.git
synced 2026-02-15 10:54:25 +08:00
1、泛型化参数,预留泛型约束,方便以后代码扩展的类型安全校验
2、升级goframe至v2.7.3
This commit is contained in:
@@ -143,6 +143,6 @@ func (c *cSite) MobileLogin(ctx context.Context, req *common.MobileLoginReq) (re
|
||||
|
||||
// Logout 注销登录
|
||||
func (c *cSite) Logout(ctx context.Context, _ *common.LoginLogoutReq) (res *common.LoginLogoutRes, err error) {
|
||||
err = token.Logout(ghttp.RequestFromCtx(ctx))
|
||||
err = token.Logout[any](ghttp.RequestFromCtx(ctx))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user