Commit de766d0a authored by sugar's avatar sugar

首页样谱

parent cc816e0f
Pipeline #725 canceled with stages
......@@ -254,7 +254,7 @@ class Friend extends Api{
}
sort($list);//排序
$list = array_slice($list, ($page-1)*$this->pageSize, $this->pageSize);//数组进行分页
$this->success('获取成功',['list' =>$list,'total_count' =>$total_count,'info' =>$info]);
$this->success('获取成功',['info' =>$info,'list' =>$list,'total_count' =>$total_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