Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Http/Middleware/GetMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function getMenu()
//查找出所有的地址
$table = Cache::store('file')->rememberForever('menus', function () {
return \App\Models\Admin\Permission::where('name', 'LIKE', '%index')
->orWhere('cid', '==', 0)
->orWhere('cid', '=', 0)
->get();
});
foreach ($table as $v) {
Expand Down