relatesinfologic.go 651 B

12345678910111213141516171819202122232425262728
  1. package logic
  2. import (
  3. "context"
  4. "github.com/zeromicro/go-zero/core/logx"
  5. "jyBXBuyer/rpc/internal/svc"
  6. "jyBXBuyer/rpc/service"
  7. "jyBXBuyer/rpc/type/bxbuyer"
  8. )
  9. type RelatesInfoLogic struct {
  10. ctx context.Context
  11. svcCtx *svc.ServiceContext
  12. logx.Logger
  13. }
  14. func NewRelatesInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RelatesInfoLogic {
  15. return &RelatesInfoLogic{
  16. ctx: ctx,
  17. svcCtx: svcCtx,
  18. Logger: logx.WithContext(ctx),
  19. }
  20. }
  21. // 采购单位画像 关联信息
  22. func (l *RelatesInfoLogic) RelatesInfo(in *bxbuyer.RelatesInformationReq) (*bxbuyer.RelatesInformationResp, error) {
  23. return service.GetRelatesInfo(in), nil
  24. }