Commit 95092f2e by 冷斌

踢人

parent 3974751e
......@@ -1481,6 +1481,10 @@ class Model_Home extends PhalApi_Model_NotORM {
->fetchAll();
}
$results[$key]['comment']=DI()->notorm->users_comment_dynamic
->where('dynamic_id = ' . $v['id'])
->sum('*');
$results[$key]['is_zan'] = !empty($zan) ? 1: 0;
$zan2 = DI()->notorm->users_dynamic
->where('dynamic_id = ?', $v['id'])
......
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