作者 lyh

gx

... ... @@ -25,8 +25,16 @@ class ProjectGroupController extends BaseController
*/
public function lists(ProjectGroup $projectGroup)
{
$lists = $projectGroup->lists($this->map,$this->page,$this->row);
$this->response('success',Code::SUCCESS,$lists);
$lists = $projectGroup->list($this->map,'id',['name','user_list','pid','id']);
$menu = [];
foreach ($lists as $k => $v){
$v = (array)$v;
if ($v['pid'] == 0) {
$v['sub'] = _get_child($v['id'], $lists);
$menu[] = $v;
}
}
$this->response('success',Code::SUCCESS,$menu);
}
/**
... ...
... ... @@ -29,4 +29,29 @@ class AyrReleaseLogic extends BaseLogic
}
return $this->success();
}
/**
* @name :(上传第三方平台)0ayr_release_add
* @author :lyh
* @method :post
* @time :2023/5/9 10:02
*/
public function ayr_release_add(){
$param = [
'post'=>$this->param['content'],
'platforms'=>$this->param['platforms']
];
}
/**
* @name :(发布到youtube)post_facebook
* @author :lyh
* @method :post
* @time :2023/5/9 10:05
*/
public function post_facebook(){
return $this->success();
}
public function post_
}
... ...