fix: correct match live menu seed sql

This commit is contained in:
hajimi
2026-06-21 13:49:35 +08:00
parent 229b70c1be
commit 875a770c5a
2 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ INSERT INTO `la_system_menu` (`pid`, `type`, `name`, `icon`, `sort`, `perms`, `p
SELECT parent.`id`, 'C', '直播线路管理', '', 0, 'match.matchLive/lists', 'match_live', 'match/lists/index', 'match/lists', '', 0, 0, 0, UNIX_TIMESTAMP(), UNIX_TIMESTAMP()
FROM `la_system_menu` parent
WHERE parent.`perms` = 'match.match/lists'
WHERE NOT EXISTS (
AND NOT EXISTS (
SELECT 1 FROM `la_system_menu`
WHERE `perms` = 'match.matchLive/lists'
);