1
This commit is contained in:
parent
672661c708
commit
7a367d329e
@ -753,15 +753,15 @@ func (r *CouponService) GrantSystemCoupon(couponId, adminUserId int64, req reque
|
||||
tx.Rollback()
|
||||
return false, err
|
||||
}
|
||||
|
||||
go func() {
|
||||
// 发送通知
|
||||
res, _ := PatientDistributeCoupon(coupon.CouponName, user.UserId)
|
||||
if !res {
|
||||
utils.LogJsonErr("CouponService-GrantSystemCoupon", "优惠卷通知发送失败")
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
go func() {
|
||||
// 发送通知
|
||||
res, _ := PatientDistributeCoupon(coupon.CouponName, user.UserId)
|
||||
if !res {
|
||||
utils.LogJsonErr("CouponService-GrantSystemCoupon", "优惠卷通知发送失败")
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
||||
// 添加优惠卷发放记录表
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user