|
@@ -18,6 +18,7 @@ class Menu extends BaseController{
|
|
|
*/
|
|
|
public function MenuList(){
|
|
|
$condition =["status"=>1,"is_del"=>0];
|
|
|
+ if($this->level=='') return app_show(101,"账户角色已禁用",[]);
|
|
|
if ($this->roleid!=1){
|
|
|
$role = Db::name("role_action")->where("role_id","=",$this->roleid)->find();
|
|
|
|