Commit ec8d9f6f authored by sugar's avatar sugar

首页样谱

parent 431055ab
Pipeline #734 canceled with stages
...@@ -259,9 +259,9 @@ class Friend extends Api{ ...@@ -259,9 +259,9 @@ class Friend extends Api{
// ->limit($this->pageSize) // ->limit($this->pageSize)
->field('fc.*,fu.nickname as fu_nickname,fu.avatar as fu_avatar') ->field('fc.*,fu.nickname as fu_nickname,fu.avatar as fu_avatar')
->select(); ->select();
if(!$list){ /* if(!$list){
$this->error('暂无评论'); $this->error('暂无评论');
} }*/
$total_count = FriendCommentModel::alias('fc') $total_count = FriendCommentModel::alias('fc')
->where(['fc.circle_id' =>$circle_id,'fc.status'=>1]) ->where(['fc.circle_id' =>$circle_id,'fc.status'=>1])
->count(); ->count();
......
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