usepersonlistlogic.go 781 B

123456789101112131415161718192021222324252627282930
  1. package logic
  2. import (
  3. "context"
  4. "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/internal/svc"
  5. "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/pb"
  6. "bp.jydev.jianyu360.cn/BaseService/entManageApplication/service"
  7. "github.com/zeromicro/go-zero/core/logx"
  8. )
  9. type UsePersonListLogic struct {
  10. ctx context.Context
  11. svcCtx *svc.ServiceContext
  12. logx.Logger
  13. }
  14. func NewUsePersonListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UsePersonListLogic {
  15. return &UsePersonListLogic{
  16. ctx: ctx,
  17. svcCtx: svcCtx,
  18. Logger: logx.WithContext(ctx),
  19. }
  20. }
  21. func (l *UsePersonListLogic) UsePersonList(in *pb.UsePersonListReq) (*pb.UsePersonListResp, error) {
  22. // todo: add your logic here and delete this line
  23. return service.UsePersonList(in), nil
  24. }