package logic import ( "context" "bp.jydev.jianyu360.cn/BaseService/biService/api/internal/svc" "bp.jydev.jianyu360.cn/BaseService/biService/api/internal/types" "bp.jydev.jianyu360.cn/BaseService/biService/rpc/biservice" "github.com/zeromicro/go-zero/core/logx" ) type ClueImportTlLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } func NewClueImportTlLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ClueImportTlLogic { return &ClueImportTlLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *ClueImportTlLogic) ClueImportTl(req *types.ClueImportReq) (resp *types.BiResp, err error) { // todo: add your logic here and delete this line res, err := l.svcCtx.BiServiceRpc.ClueImportTt(l.ctx, &biservice.ClueImportReq{ Pcbh: req.Pcbh, }) return &types.BiResp{Error_code: res.ErrorCode, Error_msg: res.ErrorMsg, Data: res.Data}, err }