super-yimizi hai 3 meses
pai
achega
073815ee16
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;
     }
     /**