seven hace 17 horas
padre
commit
13596e3d3a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/MenuService.php

+ 1 - 1
app/Services/MenuService.php

@@ -193,7 +193,7 @@ class MenuService extends BaseService
         if($userId == 1){
             return true;
         }else{
-            $info = self::findOne(['uri' => $uri ,'status' => self::model()::STATUS_SHOW ,'type' => self::model()::TYPE_BUTTON]);
+            $info = self::findOne(['uri' => $uri ,'status' => self::model()::STATUS_SHOW]);
             if($info){
                 $menuId = $info->id;
                 $roleIds = RoleUserService::$MODEL::where('user_id',$userId)->pluck('role_id')->toArray();