Commit b476ade7 authored by sugar's avatar sugar

Merge branch 'dev' of http://rungit.jxdsy.cn:10000/sugar/zhupu into dev

parents e7c4a7ee 1b8fee47
Pipeline #741 canceled with stages
......@@ -66,7 +66,7 @@ class Family extends Api
* 查看所创建的族谱
*/
public function familyList(){
$source=$this->request->param("source",2);//1我的族谱,2创建族谱,
$source=$this->request->param("source",2);//0首页,1我的族谱,2创建族谱,
/* if($source == 2 && $this->auth->is_shaikh==0){
$this->error("您还未申请为族长");
}*/
......@@ -102,7 +102,7 @@ class Family extends Api
}
}
$this->success("",$arr);
$this->success("",$source==0?$arr:$data);
}
......
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