shish 3 years ago
parent
commit
fcdf2798cd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      biz-hd/order/classes/SettleClass.php

+ 2 - 1
biz-hd/order/classes/SettleClass.php

@@ -28,7 +28,8 @@ class SettleClass extends BaseClass
         }
         $remainDebtPrice = $order->remainDebtPrice ?? 0;
         if ($remainDebtPrice <= 0) {
-            util::fail('已经结过了哦');
+            $orderSn = $order->orderSn ?? '';
+            util::fail('已经结过了哦(单号 ' . $orderSn . ')');
         }
         $shopId = $order->shopId ?? 0;
         $settleOrderSn = orderSn::getSettleSn();