Commit 6c76f6bf authored by sugar's avatar sugar

首页样谱

parent 57f15fab
...@@ -312,7 +312,7 @@ class Friend extends Api{ ...@@ -312,7 +312,7 @@ class Friend extends Api{
$this->error(__('Parameter %s can not be empty', 'comment_id')); $this->error(__('Parameter %s can not be empty', 'comment_id'));
} }
$where = ['id' =>$circle_id]; $where = ['id' =>$circle_id];
$info = Friend::where($where)->find(); $info = Friendcircle::where($where)->find();
if(!$info){ if(!$info){
$this->error('此朋友圈不存在'); $this->error('此朋友圈不存在');
} }
......
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