修改优惠卷表。重写注册发放优惠卷逻辑。新增品牌model。

This commit is contained in:
2023-11-07 16:46:24 +08:00
parent 361cd4f33f
commit 3aed48b9a6
8 changed files with 261 additions and 143 deletions
@@ -87,8 +87,7 @@ class UserCouponExpiredNoticeDelayDirectConsumer extends ConsumerMessage
// 患者-优惠卷即将过期
$MessagePush = new MessagePush($user_coupon['user_id']);
$MessagePush->patientExpireCoupon($coupon['coupon_name']);
}catch (\Exception $e){
}catch (\Throwable $e){
Log::getInstance("queue-UserCouponExpiredNotice")->error("错误:" . $e->getMessage());
return Result::DROP;
}