Commit 95e5531c by 冷斌

踢人

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