From 724d817d59bf307a42079218ac1132b98628b400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0?= Date: Fri, 5 Sep 2025 12:07:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=A3=85=E7=AE=B1=E5=A4=87?= =?UTF-8?q?=E6=B3=A8=E7=9A=84sn=E6=95=B0=E6=8D=AE=E4=B8=BAjson?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/ZengJieCode/controller/app/Savemsg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/ZengJieCode/controller/app/Savemsg.php b/application/ZengJieCode/controller/app/Savemsg.php index 4e48925..94c1951 100644 --- a/application/ZengJieCode/controller/app/Savemsg.php +++ b/application/ZengJieCode/controller/app/Savemsg.php @@ -260,7 +260,7 @@ class Savemsg extends Base{ 'box_code' => $data['box_serial_number'], 'box_num' => $num, 'create_time' => date('Y-m-d H:i:s'), - 'content_str' => implode(',',$snCodes), + 'content_str' => json_encode($snCodes) ]); $affectedRows = $zengjie->table('sn_code_all')