shish 3 years ago
parent
commit
7e7dbf702b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app-hd/controllers/CgRefundController.php

+ 1 - 1
app-hd/controllers/CgRefundController.php

@@ -99,7 +99,7 @@ class CgRefundController extends BaseController
 
 
             $saleRefundId = $respond->saleRefundId ?? 0;
             $saleRefundId = $respond->saleRefundId ?? 0;
             $saleRefund = RefundOrderClass::getById($saleRefundId, true);
             $saleRefund = RefundOrderClass::getById($saleRefundId, true);
-            if (!empty($order) && !empty($saleRefund)) {
+            if (!empty($saleRefund)) {
                 NotifyClass::addRefundApplyNotify($saleRefund);
                 NotifyClass::addRefundApplyNotify($saleRefund);
             }
             }