From 3bcba5061637fcf606fb64e4bb36ea36dcbbbb79 Mon Sep 17 00:00:00 2001 From: sanluan Date: Thu, 7 Nov 2024 15:18:09 +0800 Subject: [PATCH] https://gitee.com/sanluan/PublicCMS/issues/IB2KUS --- .../src/main/resources/initialization/sql/init.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/publiccms-parent/publiccms-core/src/main/resources/initialization/sql/init.sql b/publiccms-parent/publiccms-core/src/main/resources/initialization/sql/init.sql index ca7332fb5..750a23e1d 100644 --- a/publiccms-parent/publiccms-core/src/main/resources/initialization/sql/init.sql +++ b/publiccms-parent/publiccms-core/src/main/resources/initialization/sql/init.sql @@ -1056,10 +1056,10 @@ INSERT INTO `sys_module` VALUES ('visit_history', 'visit/history', 'visit/view,v INSERT INTO `sys_module` VALUES ('visit_item', 'visit/item', 'visit/exportItem', 'icon-flag-checkered', 'operation', 1, 5); INSERT INTO `sys_module` VALUES ('visit_session', 'visit/session', 'visit/exportSession', 'icon-comment-alt', 'operation', 1, 2); INSERT INTO `sys_module` VALUES ('visit_url', 'visit/url', 'visit/exportUrl', 'icon-link', 'operation', 1, 4); -INSERT INTO `sys_module` VALUES ('vote_add', 'cmsVote/add', 'cmsVote/save', NULL, 'content_vote', 0, 0); -INSERT INTO `sys_module` VALUES ('vote_delete', NULL, 'cmsVote/delete', NULL, 'content_vote', 0, 0); +INSERT INTO `sys_module` VALUES ('vote_add', 'cmsVote/add', 'cmsVote/save', NULL, 'vote_list', 0, 0); +INSERT INTO `sys_module` VALUES ('vote_delete', NULL, 'cmsVote/delete', NULL, 'vote_list', 0, 0); INSERT INTO `sys_module` VALUES ('vote_list', 'cmsVote/list', NULL, 'icon-ticket', 'content', 1, 7); -INSERT INTO `sys_module` VALUES ('vote_view', 'cmsVote/view', NULL, NULL, 'content_vote', 0, 0); +INSERT INTO `sys_module` VALUES ('vote_view', 'cmsVote/view', NULL, NULL, 'vote_list', 0, 0); INSERT INTO `sys_module` VALUES ('webfile_content', 'cmsWebFile/content', 'cmsWebFile/save,cmsWebFile/delete', NULL, 'webfile_list', 0, 0); INSERT INTO `sys_module` VALUES ('webfile_directory', 'cmsWebFile/directory', 'cmsWebFile/createDirectory', NULL, 'webfile_list', 0, 0); INSERT INTO `sys_module` VALUES ('webfile_list', 'cmsWebFile/list', NULL, 'icon-globe', 'file', 1, 5);