shish 2 سال پیش
والد
کامیت
35206100af
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      app-mall/controllers/NoticeController.php

+ 1 - 3
app-mall/controllers/NoticeController.php

@@ -415,10 +415,8 @@ class NoticeController extends PublicController
             noticeUtil::push('收银台支付回调验证失败了,请注意,orderSn:' . $orderSn, '15280215347');
             util::end();
         }
-
-
         $orderStatus = $postData['order_status'];
-        $tradeType = $postData['trade_type'];
+        $tradeType = $orderTradeInfo['trade_type'] ?? '';
         if ($tradeType != 'PAY') {
             noticeUtil::push('收银台支付回调验证失败了,不是消费的回调,orderSn:' . $orderSn, '15280215347');
             util::end();