// Code generated by goctl. DO NOT EDIT! // Source: entManageApplication.proto package server import ( "context" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/internal/logic" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/internal/svc" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/pb" ) type EntManageApplicationServer struct { svcCtx *svc.ServiceContext pb.UnimplementedEntManageApplicationServer } func NewEntManageApplicationServer(svcCtx *svc.ServiceContext) *EntManageApplicationServer { return &EntManageApplicationServer{ svcCtx: svcCtx, } } func (s *EntManageApplicationServer) BuyProductList(ctx context.Context, in *pb.BuyProductListReq) (*pb.BuyProductListResp, error) { l := logic.NewBuyProductListLogic(ctx, s.svcCtx) return l.BuyProductList(in) } func (s *EntManageApplicationServer) UsePersonList(ctx context.Context, in *pb.UsePersonListReq) (*pb.UsePersonListResp, error) { l := logic.NewUsePersonListLogic(ctx, s.svcCtx) return l.UsePersonList(in) } func (s *EntManageApplicationServer) AddUsePerson(ctx context.Context, in *pb.AddUsePersonReq) (*pb.AddUsePersonResp, error) { l := logic.NewAddUsePersonLogic(ctx, s.svcCtx) return l.AddUsePerson(in) } func (s *EntManageApplicationServer) DelUsePerson(ctx context.Context, in *pb.DelUsePersonReq) (*pb.AddUsePersonResp, error) { l := logic.NewDelUsePersonLogic(ctx, s.svcCtx) return l.DelUsePerson(in) } func (s *EntManageApplicationServer) EmpowerUserIds(ctx context.Context, in *pb.EmpowerUserIds) (*pb.EmpowerUserIds, error) { l := logic.NewEmpowerUserIdsLogic(ctx, s.svcCtx) return l.EmpowerUserIds(in) }