From fd7453002d3b99e93b49017d16b7e5a654ab21bd Mon Sep 17 00:00:00 2001 From: Elijah Date: Fri, 15 Nov 2019 15:17:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?KERNEL-1754=20=E6=B7=BB=E5=8A=A0=E5=86=85?= =?UTF-8?q?=E7=BD=AE=E7=AE=A1=E7=90=86=E7=B3=BB=E7=BB=9F=E8=8A=82=E7=82=B9?= =?UTF-8?q?id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fanruan/api/decision/AuthorityKit.java | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/main/java/com/fanruan/api/decision/AuthorityKit.java b/src/main/java/com/fanruan/api/decision/AuthorityKit.java index 54ba641..e09ba80 100644 --- a/src/main/java/com/fanruan/api/decision/AuthorityKit.java +++ b/src/main/java/com/fanruan/api/decision/AuthorityKit.java @@ -1,5 +1,7 @@ package com.fanruan.api.decision; +import com.fr.decision.authority.base.constant.AuthorityStaticItemId; + /** * @author richie * @version 10.0 @@ -8,4 +10,36 @@ package com.fanruan.api.decision; */ public class AuthorityKit { + /** + * 内置管理系统节点id + */ + public class Management{ + public static final String USER = AuthorityStaticItemId.DEC_MANAGEMENT_USER_ID; + + public static final String AUTHORITY = AuthorityStaticItemId.DEC_MANAGEMENT_AUTHORITY_ID; + + public static final String DIRECTORY = AuthorityStaticItemId.DEC_MANAGEMENT_DIRECTORY_ID; + + public static final String APPEARANCE = AuthorityStaticItemId.DEC_MANAGEMENT_APPEARANCE_ID; + + public static final String CONNECTION = AuthorityStaticItemId.DEC_MANAGEMENT_CONNECTION_ID; + + public static final String SYSTEM = AuthorityStaticItemId.DEC_MANAGEMENT_SYSTEM_ID; + + public static final String SCHEDULE = AuthorityStaticItemId.DEC_MANAGEMENT_SCHEDULE_ID; + + public static final String MOBILE = AuthorityStaticItemId.DEC_MANAGEMENT_MOBILE_ID; + + public static final String REGISTER = AuthorityStaticItemId.DEC_MANAGEMENT_REGISTER_ID; + + public static final String PLUGIN = AuthorityStaticItemId.DEC_MANAGEMENT_PLUGIN_ID; + + public static final String SECURITY = AuthorityStaticItemId.DEC_MANAGEMENT_SECURITY_ID; + + public static final String TEMPLATE = AuthorityStaticItemId.DEC_MANAGEMENT_TEMPLATE_ID; + + public static final String MAP = AuthorityStaticItemId.DEC_MANAGEMENT_MAP_ID; + + public static final String MAINTENANCE = AuthorityStaticItemId.DEC_MANAGEMENT_MAINTENANCE_ID; + } } From fd0aace23770cfbbf84aaa145989a79e0a535f55 Mon Sep 17 00:00:00 2001 From: Elijah Date: Fri, 15 Nov 2019 15:20:30 +0800 Subject: [PATCH 2/2] fix --- src/main/java/com/fanruan/api/decision/AuthorityKit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/fanruan/api/decision/AuthorityKit.java b/src/main/java/com/fanruan/api/decision/AuthorityKit.java index e09ba80..c19b311 100644 --- a/src/main/java/com/fanruan/api/decision/AuthorityKit.java +++ b/src/main/java/com/fanruan/api/decision/AuthorityKit.java @@ -13,7 +13,7 @@ public class AuthorityKit { /** * 内置管理系统节点id */ - public class Management{ + public static class Management{ public static final String USER = AuthorityStaticItemId.DEC_MANAGEMENT_USER_ID; public static final String AUTHORITY = AuthorityStaticItemId.DEC_MANAGEMENT_AUTHORITY_ID;