service apis edit, info, items, status, names
This commit is contained in:
@@ -67,3 +67,28 @@ func (s *AdminServer) LoginInfo(ctx context.Context, in *admin.AdminEmptyRequest
|
||||
l := logic.NewLoginInfoLogic(ctx, s.svcCtx)
|
||||
return l.LoginInfo(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) ServiceInfo(ctx context.Context, in *admin.InfoRequest) (*admin.Response, error) {
|
||||
l := logic.NewServiceInfoLogic(ctx, s.svcCtx)
|
||||
return l.ServiceInfo(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) ServiceEdit(ctx context.Context, in *admin.ServiceEditRequest) (*admin.Response, error) {
|
||||
l := logic.NewServiceEditLogic(ctx, s.svcCtx)
|
||||
return l.ServiceEdit(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) ServiceItems(ctx context.Context, in *admin.ServiceItemsRequest) (*admin.Response, error) {
|
||||
l := logic.NewServiceItemsLogic(ctx, s.svcCtx)
|
||||
return l.ServiceItems(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) ServiceStatus(ctx context.Context, in *admin.StatusRequest) (*admin.Response, error) {
|
||||
l := logic.NewServiceStatusLogic(ctx, s.svcCtx)
|
||||
return l.ServiceStatus(in)
|
||||
}
|
||||
|
||||
func (s *AdminServer) ServiceNames(ctx context.Context, in *admin.ServiceNameRequest) (*admin.Response, error) {
|
||||
l := logic.NewServiceNamesLogic(ctx, s.svcCtx)
|
||||
return l.ServiceNames(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user