// Code generated by goctl. DO NOT EDIT! // Source: manager.proto package server import ( "context" "app.yhyue.com/moapp/jyInfo/rpc/manager/internal/logic" "app.yhyue.com/moapp/jyInfo/rpc/manager/internal/svc" "app.yhyue.com/moapp/jyInfo/rpc/manager/type/manager" ) type ManagerServer struct { svcCtx *svc.ServiceContext manager.UnimplementedManagerServer } func NewManagerServer(svcCtx *svc.ServiceContext) *ManagerServer { return &ManagerServer{ svcCtx: svcCtx, } } // 信息列表 func (s *ManagerServer) InfoList(ctx context.Context, in *manager.InfoListReq) (*manager.InfoListResp, error) { l := logic.NewInfoListLogic(ctx, s.svcCtx) return l.InfoList(in) } // 信息详情 func (s *ManagerServer) InfoDetail(ctx context.Context, in *manager.InfoDetailReq) (*manager.InfoDetailResp, error) { l := logic.NewInfoDetailLogic(ctx, s.svcCtx) return l.InfoDetail(in) } // 信息审核 func (s *ManagerServer) InfoExamine(ctx context.Context, in *manager.InfoExamineReq) (*manager.InfoExamineResp, error) { l := logic.NewInfoExamineLogic(ctx, s.svcCtx) return l.InfoExamine(in) } // 管理后台机构冻结 func (s *ManagerServer) InstitutionsFreeze(ctx context.Context, in *manager.InstitutionsFreezeReq) (*manager.InfoResp, error) { l := logic.NewInstitutionsFreezeLogic(ctx, s.svcCtx) return l.InstitutionsFreeze(in) }