From eea40fabdf7fde30976167d8ff5c866f81061e81 Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Sat, 25 Feb 2023 17:43:29 +0800 Subject: [PATCH] 1 --- app/Listeners/OrderPrint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Listeners/OrderPrint.php b/app/Listeners/OrderPrint.php index a6a177ee..d225b829 100644 --- a/app/Listeners/OrderPrint.php +++ b/app/Listeners/OrderPrint.php @@ -40,7 +40,7 @@ class OrderPrint 'sn' => $order->sn, 'time' => $order->created_at->format('Y-m-d H:i:s'), 'desk' => $desk->name, - 'products' => json_encode($products), + 'products' => json_encode($products, JSON_UNESCAPED_UNICODE), 'total' => round($order->total_amount, 2, PHP_ROUND_HALF_DOWN), 'remarks' => $order->note ?: '', ];