diff --git a/application/common/model/UserWallet.php b/application/common/model/UserWallet.php index 108781dc..599b2902 100644 --- a/application/common/model/UserWallet.php +++ b/application/common/model/UserWallet.php @@ -323,6 +323,7 @@ class UserWallet extends Model } else { $table_name_log = 'user_earnings_log'; } + $where = []; if ($seach['stime']) { $where['createtime'] = ['>=', strtotime($seach['stime'])]; }