|
...
|
...
|
@@ -100,12 +100,12 @@ class ProjectMenuSeoLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/8/2 16:24
|
|
|
|
*/
|
|
|
|
public function roleMenuInfo($id = 0){
|
|
|
|
if(empty($id)){
|
|
|
|
public function roleMenuInfo(){
|
|
|
|
if(empty($this->param['id'])){
|
|
|
|
$lists = $this->model->list([],'sort');
|
|
|
|
}else{
|
|
|
|
//排除掉自己+自己的下级
|
|
|
|
$lists = $this->model->list(['id'=>['!=',$id],'pid'=>['!=',$id]],'sort');
|
|
|
|
$lists = $this->model->list(['id'=>['!=',$this->param['id']],'pid'=>['!=',$this->param['id']]],'sort');
|
|
|
|
}
|
|
|
|
$menu = array();
|
|
|
|
if(!empty($lists)){
|
...
|
...
|
|