Commit 6da1cd2c by 冷斌

update

parent 4301bd74
......@@ -404,11 +404,11 @@ class Model_User extends PhalApi_Model_NotORM
if ($userinfo) {
$userinfo['isattention'] = isAttention($uid, $v['uid']);
$touids[$k] = $userinfo;
$touids[$k]['fans'] = getFans($v['uid']);
} else {
DI()->notorm->users_attention->where('uid=? or touid=?', $v['uid'], $v['uid'])->delete();
unset($touids[$k]);
}
$touids[$k]['fans'] = getFans($v['uid']);
}
$touids = array_values($touids);
return $touids;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment