From aa4c1d51505efd197062eba63f8d51e51659c79c Mon Sep 17 00:00:00 2001 From: songliang Date: Thu, 13 Jul 2023 17:20:00 +0800 Subject: [PATCH] ... --- webapp/controller/ShopController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 74978adb..5646f945 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -211,7 +211,8 @@ class ShopController extends BaseAuthedController $this->_rspErr(1, 'address is empty'); } - error_log("address: {$address}, id: {$id}, token_type: {$token_type}, goods_num: {$goods_num} {$goods['goods_id']} {json_encode($goods)} "); + $goods_str = json_encode($goods); + error_log("address: {$address}, id: {$id}, token_type: {$token_type}, goods_num: {$goods_num} goods_str: {$goods_str}"); $chk = SqlHelper::insert( $conn,