|
|
|
@ -65,13 +65,15 @@ class CheckPermission |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 特殊 |
|
|
|
if (in_array($newAction, ['logout', 'me', 'menu'])) { |
|
|
|
// 特殊1 |
|
|
|
$special = ['logout', 'me', 'menu']; |
|
|
|
if (in_array($newAction, $special)) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
// 特殊 |
|
|
|
if (in_array($method, ['rule', 'uploadImage', 'search', 'targetMode'])) { |
|
|
|
// 特殊2 |
|
|
|
$special2 = ['rule', 'uploadImage', 'search', 'targetMode', 'buildingFloorList']; |
|
|
|
if (in_array($method, $special2)) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
|