master
wangxinglong 2022-05-27 17:47:25 +08:00
parent f191f49024
commit e7126a9991
1 changed files with 3 additions and 3 deletions

View File

@ -247,9 +247,9 @@ class User extends Base
* 补充信息:
* 文章收藏量、分享注册用户量包含2级
*/
$user->collects = $repo->countRecordByAction(AccountRecord::TYPE_CONTENT, AccountRecord::ACTION_COLLECT, $accountId);
$user->share_users = $repo->shareAccountCount($accountId);
$user->unread_messages = $repo->countUnReadMessage($accountId);
// $user->collects = $repo->countRecordByAction(AccountRecord::TYPE_CONTENT, AccountRecord::ACTION_COLLECT, $accountId);
// $user->share_users = $repo->shareAccountCount($accountId);
// $user->unread_messages = $repo->countUnReadMessage($accountId);
$user = $user->toArray();
$user = arrayNullToString($user);