|
...
|
...
|
@@ -28,7 +28,13 @@ class ProjectMenuController extends BaseController |
|
|
|
*/
|
|
|
|
public function lists(){
|
|
|
|
$menuModel = new ProjectMenuModel();
|
|
|
|
$this->map['pid'] = $this->param['pid'];
|
|
|
|
if(isset($this->param['pid'])){
|
|
|
|
$this->map['pid'] = $this->param['pid'];
|
|
|
|
}
|
|
|
|
//是否为权限菜单
|
|
|
|
if(isset($this->param['is_role'])){
|
|
|
|
$this->map['is_role'] = $this->param['is_role'];
|
|
|
|
}
|
|
|
|
$lists = $menuModel->lists($this->map,$this->page,$this->row,$this->order,['*']);
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
...
|
...
|
|