作者 sgj
1 个管道 的构建 通过 耗费 0 秒

接口完成

... ... @@ -304,13 +304,13 @@ class IndexController extends RestBaseController
}
$activity['button_title']=$title;
$activity['button_status']=$status;
$people=$Join->getJoinData($id)->toArray();
$people=$Join->getJoinData($id);
foreach ($people as $k=>$v){
$join[$k]['photo']=$v['photo'];
$join[$k]['name']=$v['name'];
$join[$k]['level']=$v['level'];
$join1[$k]['photo']=$v['photo'];
$join1[$k]['name']=$v['name'];
$join1[$k]['level']=$v['level'];
}
$activity['join']=$join;
$activity['join']=$join1;
$this->success('获取成功!',$activity);
}
... ...