|
|
@@ -67,6 +67,13 @@ func (l *AcquirerStudentAddLogic) AcquirerStudentAdd(req types.EnrollAddReq) (*t
|
|
|
bean.Address = req.Address
|
|
|
bean.UserId = userId
|
|
|
bean.LoadSchId = erpUser.SchId
|
|
|
+ //加入part信息
|
|
|
+ partUser, err := model.GetPartTimeXormByUserId(userId, l.svcCtx.DB)
|
|
|
+ if err != nil {
|
|
|
+ logx.Error(err.Error())
|
|
|
+ return &types.Response{500, err.Error(), nil}, nil
|
|
|
+ }
|
|
|
+ bean.PartTimeUserId = partUser.Id
|
|
|
//获取渠道收单信息
|
|
|
acquirerInfo, err := model.GetAcquirerMktQr(userId, l.svcCtx.DB)
|
|
|
if err != nil {
|