From 7cb8cdbee695ecae9dd2b5d1e3784d4c5bfd365c Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Tue, 22 Aug 2023 16:05:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/app/api/logic/OrderLogic.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/app/api/logic/OrderLogic.php b/server/app/api/logic/OrderLogic.php index 8b92e2a3..18f791be 100644 --- a/server/app/api/logic/OrderLogic.php +++ b/server/app/api/logic/OrderLogic.php @@ -1311,6 +1311,9 @@ class OrderLogic extends Logic $order['delivery_content'] = ''; } + $frontendArray = explode(',',trim($order['frontend_info'])); + $order['frontend_array'] = array_filter($frontendArray); + return $order->toArray(); }