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,