add admin names api
This commit is contained in:
@@ -53,6 +53,11 @@ func (s *AdminServer) AdminItems(ctx context.Context, in *admin.AdminItemsReques
|
||||
return l.AdminItems(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) AdminNames(ctx context.Context, in *admin.AdminEmptyRequest) (*admin.Response, error) {
|
||||
l := logic.NewAdminNamesLogic(ctx, s.svcCtx)
|
||||
return l.AdminNames(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) LoginRefresh(ctx context.Context, in *admin.AdminEmptyRequest) (*admin.Response, error) {
|
||||
l := logic.NewLoginRefreshLogic(ctx, s.svcCtx)
|
||||
return l.LoginRefresh(in)
|
||||
|
||||
Reference in New Issue
Block a user