소스 검색

fix:回调

super-yimizi 3 달 전
부모
커밋
073815ee16
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      application/common/Service/Pay/PayOperService.php

+ 2 - 2
application/common/Service/Pay/PayOperService.php

@@ -238,10 +238,10 @@ class PayOperService
             return false;
         }
 
-        if ($order->status == $order::STATUS_UNPAID) {      // 未支付,检测支付状态
+        if(!$order->isPayStatus()){
+             // 未支付,检测支付状态
             $order = $this->checkAndPaid($order, $pay->order_type);
         }
-
         return $order;
     }
     /**