x
This commit is contained in:
@@ -582,11 +582,6 @@ func (l *ActivateOrderLogic) handleCommission(ctx context.Context, userInfo *use
|
||||
return
|
||||
}
|
||||
|
||||
// 渠道路径(佣金比例>0):被邀请人首单赠N天
|
||||
if orderInfo.IsNew {
|
||||
_ = l.grantGiftDays(ctx, userInfo, int(l.svc.Config.Invite.GiftDays), orderInfo.OrderNo, "邀请赠送")
|
||||
}
|
||||
|
||||
referer, err := l.svc.UserModel.FindOne(ctx, userInfo.RefererId)
|
||||
if err != nil {
|
||||
logger.WithContext(ctx).Error("Find referer failed",
|
||||
|
||||
Reference in New Issue
Block a user