chore: 同步华为云第1台服务器上的关于Menu针对特殊用户限制的代码

This commit is contained in:
2025-11-22 15:56:34 +08:00
parent f03dbbfc60
commit 326dbb1c3c
2 changed files with 9 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ class Menu extends BaseModel
// if (!empty($cache)) {
// return $this->success($cache);
// }
$list = model('menu')->getList($condition, $field, $order, '', '', '', $limit);
$list = model('menu')->getList($condition, $field, $order, '', [], '', $limit);
// Cache::tag("menu")->set("getMenuList_" . $data, $list);
return $this->success($list);