From d7072c4c23220ffc72dbf2956eeac0500dc0fbfe Mon Sep 17 00:00:00 2001 From: hujiabin <519660157@qq.com> Date: Wed, 9 Oct 2024 19:21:22 +0800 Subject: [PATCH] 1 --- webapp/controller/SavingPotController.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webapp/controller/SavingPotController.class.php b/webapp/controller/SavingPotController.class.php index d33be250..2cea08d3 100644 --- a/webapp/controller/SavingPotController.class.php +++ b/webapp/controller/SavingPotController.class.php @@ -122,8 +122,10 @@ class SavingPotController extends BaseAuthedController { ); SqlHelper::rawQueryPage( myself()->_getSelfMysql(), - 'SELECT * FROM t_user_bind_gold_record ', - array(), + 'SELECT * FROM t_user_bind_gold_record where account_id=:account_id', + array( + ':account_id' => myself()->_getAccountId() + ), array( 'page' => $page, 'perPage' => 8,