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 ?: '', ];