* [misc] replace mao with dao because the TABLE_USERVIEW isn't saved in cache.

This commit is contained in:
liugang
2025-04-01 14:33:19 +08:00
committed by 刘刚
parent 44142b5a5d
commit 7e06f23efc
4 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -1696,7 +1696,7 @@ class doc extends control
if($object->acl == 'open') return print('');
$this->loadModel('user');
$userViews = $this->mao->select('*')->from(TABLE_USERVIEW)->where('account')->in($accounts)->fetchAll('account');
$userViews = $this->dao->select('*')->from(TABLE_USERVIEW)->where('account')->in($accounts)->fetchAll('account');
$userPairs = $this->dao->select('account,realname')->from(TABLE_USER)->where('account')->in($accounts)->fetchPairs('account', 'realname');
$denyUsers = array();
foreach($accounts as $account)