瀏覽代碼

:bug: Fixing a bug. 解决全局异常处理器只能在资源服务器使用问题

冷冷 6 年之前
父節點
當前提交
3614411cce
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pigx-common/pigx-common-security/src/main/resources/META-INF/spring.factories

+ 1 - 0
pigx-common/pigx-common-security/src/main/resources/META-INF/spring.factories

@@ -1,3 +1,4 @@
 org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+  com.pig4cloud.pigx.common.security.component.GlobalExceptionHandlerResolver,\
   com.pig4cloud.pigx.common.security.feign.PigxFeignConfiguration,\
   com.pig4cloud.pigx.common.security.service.PigxUserDetailsServiceImpl