Browse Source

fix:回调

super-yimizi 2 months ago
parent
commit
073815ee16
1 changed files with 2 additions and 2 deletions
  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;
             return false;
         }
         }
 
 
-        if ($order->status == $order::STATUS_UNPAID) {      // 未支付,检测支付状态
+        if(!$order->isPayStatus()){
+             // 未支付,检测支付状态
             $order = $this->checkAndPaid($order, $pay->order_type);
             $order = $this->checkAndPaid($order, $pay->order_type);
         }
         }
-
         return $order;
         return $order;
     }
     }
     /**
     /**