From 8a3bf19ccb140e9944bbf1cbc9c53200a9a5a7af Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 11 Jun 2024 11:49:13 +0800 Subject: [PATCH] 1 --- webapp/models/GoldBullion.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/models/GoldBullion.php b/webapp/models/GoldBullion.php index 0f5bb390..51704a6b 100644 --- a/webapp/models/GoldBullion.php +++ b/webapp/models/GoldBullion.php @@ -11,6 +11,10 @@ class GoldBullion extends BaseModel { public static function onLogin() { + $address = myself()->_getAddress(); + if (empty($address)) { + return; + } $rows = SqlHelper::ormSelect( myself()->_getSelfMysql(), 't_gold_bullion',