Commit 4301bd74 by 冷斌

update

parent 2dd4e290
......@@ -380,11 +380,11 @@ class Model_User extends PhalApi_Model_NotORM
}
$userinfo['isattention'] = $isattent;
$touids[$k] = $userinfo;
$touids[$k]['fans'] = getFans($v['touid']);
} else {
DI()->notorm->users_attention->where('uid=? or touid=?', $v['touid'], $v['touid'])->delete();
unset($touids[$k]);
}
$touids[$k]['fans'] = getFans($v['touid']);
}
$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