retusn del nil
This commit is contained in:
@@ -53,14 +53,14 @@ func (s *AdminServer) AdminItems(ctx context.Context, in *admin.AdminItemsReques
|
||||
return l.AdminItems(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) AdminLogin(ctx context.Context, in *admin.AdminLoginRequest) (*admin.Response, error) {
|
||||
l := logic.NewAdminLoginLogic(ctx, s.svcCtx)
|
||||
return l.AdminLogin(in)
|
||||
func (s *AdminServer) LoginRefresh(ctx context.Context, in *admin.AdminEmptyRequest) (*admin.Response, error) {
|
||||
l := logic.NewLoginRefreshLogic(ctx, s.svcCtx)
|
||||
return l.LoginRefresh(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) AdminRefresh(ctx context.Context, in *admin.AdminEmptyRequest) (*admin.Response, error) {
|
||||
l := logic.NewAdminRefreshLogic(ctx, s.svcCtx)
|
||||
return l.AdminRefresh(in)
|
||||
func (s *AdminServer) Login(ctx context.Context, in *admin.LoginRequest) (*admin.Response, error) {
|
||||
l := logic.NewLoginLogic(ctx, s.svcCtx)
|
||||
return l.Login(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) LoginInfo(ctx context.Context, in *admin.AdminEmptyRequest) (*admin.Response, error) {
|
||||
@@ -68,6 +68,21 @@ func (s *AdminServer) LoginInfo(ctx context.Context, in *admin.AdminEmptyRequest
|
||||
return l.LoginInfo(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) LoginItems(ctx context.Context, in *admin.AdminEmptyRequest) (*admin.Response, error) {
|
||||
l := logic.NewLoginItemsLogic(ctx, s.svcCtx)
|
||||
return l.LoginItems(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) LoginKickedOut(ctx context.Context, in *admin.LoginKickedOutRequest) (*admin.Response, error) {
|
||||
l := logic.NewLoginKickedOutLogic(ctx, s.svcCtx)
|
||||
return l.LoginKickedOut(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) LogOut(ctx context.Context, in *admin.AdminEmptyRequest) (*admin.Response, error) {
|
||||
l := logic.NewLogOutLogic(ctx, s.svcCtx)
|
||||
return l.LogOut(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) LoginRoutes(ctx context.Context, in *admin.RoutesRequest) (*admin.Response, error) {
|
||||
l := logic.NewLoginRoutesLogic(ctx, s.svcCtx)
|
||||
return l.LoginRoutes(in)
|
||||
|
||||
Reference in New Issue
Block a user