diff --git a/app/Http/Controllers/Customer/OrdersController.php b/app/Http/Controllers/Customer/OrdersController.php index 8d2580a..8cbc8c5 100644 --- a/app/Http/Controllers/Customer/OrdersController.php +++ b/app/Http/Controllers/Customer/OrdersController.php @@ -675,7 +675,7 @@ class OrdersController extends CommonController //生成预支付ID $prepay_id = $unifiedOrder->getPrepayId(); if (!$prepay_id) { - Log::channel("daily_customer_order_request")->info("null_prepay_id:".request()->order_id); + Log::channel("daily_customer_order_request")->info($unifiedOrder->result); return response()->json([ "errorcode" => "60000", "errormsg" => "生成支付请求失败"