From c3ffbb68bd4808e771f956b480629191c7f5caca Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Fri, 7 Jul 2023 13:30:10 +0800 Subject: [PATCH] 1 --- webapp/services/ChipPageService.php | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/webapp/services/ChipPageService.php b/webapp/services/ChipPageService.php index 3372be54..732ac235 100644 --- a/webapp/services/ChipPageService.php +++ b/webapp/services/ChipPageService.php @@ -46,18 +46,17 @@ class ChipPageService extends BaseService }else{ $val['state'] = 1; } - - SqlHelper::update( - myself()->_getSelfMysql(), - 't_chip_page', - array( - 'idx' => $row['idx'] - ), - array( - 'data' => json_encode($data), - ) - ); - } + } + SqlHelper::update( + myself()->_getSelfMysql(), + 't_chip_page', + array( + 'idx' => $row['idx'] + ), + array( + 'data' => json_encode($data), + ) + ); } } \ No newline at end of file