From 243a135077985aa517e00320a7327bb8c459f460 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 18 七月 2023 17:38:31 +0800 Subject: [PATCH] 开发根据用户UID查询其资源权限并添加缓存处理 --- src/main/java/com/moon/server/config/InitConfig.java | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/moon/server/config/InitConfig.java b/src/main/java/com/moon/server/config/InitConfig.java index 505f84d..830d2a3 100644 --- a/src/main/java/com/moon/server/config/InitConfig.java +++ b/src/main/java/com/moon/server/config/InitConfig.java @@ -1,6 +1,7 @@ package com.moon.server.config; import com.moon.server.entity.all.StaticData; +import com.moon.server.service.all.TestService; import com.moon.server.service.all.UploadAttachService; import com.moon.server.service.sys.ArgsService; import com.moon.server.helper.GdalHelper; @@ -31,8 +32,8 @@ @Resource Environment env; - //@Resource - //TestService testService; + @Resource + TestService testService; @Override public void run(ApplicationArguments args) { @@ -41,7 +42,8 @@ GdalHelper.init(env.getProperty("sys.gdal_path")); UploadAttachService.init(env.getProperty("sys.attachTabs")); - //testService.testRegister(); + //testService.testPerms(); + pathHelper.init(); StaticData.ADMIN = env.getProperty("sys.admin"); argsService.initSettingData(); -- Gitblit v1.9.3