From adaa1d256fb85d2769b2be867b7071a660996c59 Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期四, 04 七月 2024 16:54:38 +0800 Subject: [PATCH] 增加变更所有者、状态跃迁等功能 --- Source/plt-web/plt-web-parent/plt-web-base/src/main/java/com/vci/starter/web/autoconfigure/SpringMVCConfig.java | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web-base/src/main/java/com/vci/starter/web/autoconfigure/SpringMVCConfig.java b/Source/plt-web/plt-web-parent/plt-web-base/src/main/java/com/vci/starter/web/autoconfigure/SpringMVCConfig.java index 244211d..9af6193 100644 --- a/Source/plt-web/plt-web-parent/plt-web-base/src/main/java/com/vci/starter/web/autoconfigure/SpringMVCConfig.java +++ b/Source/plt-web/plt-web-parent/plt-web-base/src/main/java/com/vci/starter/web/autoconfigure/SpringMVCConfig.java @@ -114,6 +114,15 @@ } /** + * 瀹夊叏鐩稿叧鐨勬嫤鎴櫒 + * @return 瀹夊叏鐩稿叧鐨勬嫤鎴櫒 + */ + @Bean + public VciSecurityInterceptor vciSecurityInterceptor(){ + return new VciSecurityInterceptor(); + } + + /** * 澧炲姞PUT鍜孌ELETE鐨勬敮鎸� * @return 杩囨护鍣� */ @@ -270,14 +279,6 @@ return new VciLocaleInterceptor(); } - /** - * 瀹夊叏鐩稿叧鐨勬嫤鎴櫒 - * @return 瀹夊叏鐩稿叧鐨勬嫤鎴櫒 - */ - @Bean - public VciSecurityInterceptor vciSecurityInterceptor(){ - return new VciSecurityInterceptor(); - } /** -- Gitblit v1.9.3