gorden 1 month ago
parent
commit
f7e20dbee9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/admin/controller/order/WholeController.php

+ 2 - 2
app/admin/controller/order/WholeController.php

@@ -1354,14 +1354,14 @@ class WholeController extends Curd
             _syslog("订单", "订单支付成功");
             return json_success('支付成功');
         } catch (BusinessException $e) {
-            dump($e->getMessage());
             Db::rollBack();
             _syslog("订单", "订单支付失败:" . $e->getMessage());
+            Log::error("订单支付失败:".$e->getMessage());
             return json_fail("支付失败:" . $e->getMessage());
         } catch (\Exception $e) {
-            dump($e->getMessage());
             Db::rollBack();
             _syslog("订单", "订单支付失败");
+            Log::error("订单支付失败:".$e->getMessage());
             return json_fail('支付失败');
         }
     }