infoemployinfologic.go 894 B

1234567891011121314151617181920212223242526272829303132333435
  1. package logic
  2. import (
  3. "bp.jydev.jianyu360.cn/CRM/application/api/service"
  4. "context"
  5. "log"
  6. "bp.jydev.jianyu360.cn/CRM/application/api/internal/svc"
  7. "bp.jydev.jianyu360.cn/CRM/application/api/internal/types"
  8. "github.com/zeromicro/go-zero/core/logx"
  9. )
  10. type InfoEmployinfoLogic struct {
  11. logx.Logger
  12. ctx context.Context
  13. svcCtx *svc.ServiceContext
  14. }
  15. func NewInfoEmployinfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *InfoEmployinfoLogic {
  16. return &InfoEmployinfoLogic{
  17. Logger: logx.WithContext(ctx),
  18. ctx: ctx,
  19. svcCtx: svcCtx,
  20. }
  21. }
  22. func (l *InfoEmployinfoLogic) InfoEmployinfo(req *types.InfoEmployinfoReq) (resp *types.Reply, err error) {
  23. // todo: add your logic here and delete this line
  24. resp = &types.Reply{}
  25. employService := &service.EmPloyService{}
  26. log.Println(employService.InfoEmployinfo(req))
  27. resp.Data = employService.InfoEmployinfo(req)
  28. return
  29. }