package logic import ( "bp.jydev.jianyu360.cn/CRM/networkManage/api/internal/service" "context" "bp.jydev.jianyu360.cn/CRM/networkManage/api/internal/svc" "bp.jydev.jianyu360.cn/CRM/networkManage/api/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type FindInitInfoLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } func NewFindInitInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindInitInfoLogic { return &FindInitInfoLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *FindInitInfoLogic) FindInitInfo(req *types.FindInitInfoReq) (resp *types.Reply, err error) { // todo: add your logic here and delete this line resp = &types.Reply{} initInfoService := &service.InitInfoService{ PositionType: req.PositionType, MgoUserId: req.MgoUserId, EntId: req.EntId, NewUserId: req.NewUserId, AccountId: req.AccountId, PositionId: req.PositionId, EntUserId: req.EntUserId, } data := initInfoService.FindInitInfo() resp.Data = data return }