This commit is contained in:
wucongxing 2023-04-17 15:00:07 +08:00
parent d00ebd2f94
commit bccffc7601

View File

@ -306,6 +306,7 @@ class CallBackController extends AbstractController
// 发送推送消息
if ($inquiry_refund_status == 3) {
try {
if (!empty($order_inquiry['coupon_amount_total']) && $order_inquiry['coupon_amount_total'] > 0) {
// 发送站内、订阅、短信消息-问诊服务退款成功
$MessagePush = new MessagePush($order_inquiry['user_id'], $order_inquiry['order_inquiry_id']);
@ -321,7 +322,7 @@ class CallBackController extends AbstractController
// 发送站内消息-优惠卷退还
$MessagePush = new MessagePush($order_inquiry['user_id'], $order_inquiry['order_inquiry_id']);
$MessagePush->patientRefundCoupon();
}
} catch (\Exception $e) {
// 验证失败
Log::getInstance()->error("微信退款回调处理成功,推送消息失败:" . $e->getMessage());