refactor: 放开移动端中文"AI PC"导航
Some checks failed
Gitea Actions Official-website / deploy-dev (push) Failing after 3s

This commit is contained in:
2025-12-29 09:56:14 +08:00
parent b1b59a96f2
commit 49d365a16d

View File

@@ -111,7 +111,7 @@ abstract class Common extends BaseController
// 临时代码,移动端暂时不显示 "AI PC"
if (request()->from == 'mobile') {
$table_name = SysNavigationItemModel::getTable();
$query->whereNotIn($table_name . ".id", [77, 78]);
$query->whereNotIn($table_name . ".id", [77]);
}
})
->order(['sort' => 'asc', 'id' => 'asc'])