123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package logic
- import (
- "context"
- "fmt"
- "bp.jydev.jianyu360.cn/CRM/application/api/internal/svc"
- "bp.jydev.jianyu360.cn/CRM/application/api/internal/types"
- "github.com/zeromicro/go-zero/core/logx"
- )
- type CandidateChannelLogic struct {
- logx.Logger
- ctx context.Context
- svcCtx *svc.ServiceContext
- }
- func NewCandidateChannelLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CandidateChannelLogic {
- return &CandidateChannelLogic{
- Logger: logx.WithContext(ctx),
- ctx: ctx,
- svcCtx: svcCtx,
- }
- }
- func (l *CandidateChannelLogic) CandidateChannel(req *types.ChannelListReq) (resp *types.Reply, err error) {
- // todo: add your logic here and delete this line
- logx.Info(fmt.Sprintf("%+v", req))
- resp = &types.Reply{}
- /*ownerService := &service.OwnerService{
- PartyA: req.PartyA,
- Supplier: req.Supplier,
- Intermediary: req.Intermediary,
- Heterotophy: req.Heterotophy,
- Agency: req.Agency,
- PositionId: req.PositionId,
- }*/
- /*data := ownerService.CandidateChannel()
- resp.Data = data*/
- return
- }
|