.json 요청에서 빈 응답 반환 시 {} 로 변환하는 ResponseBodyAdvice 추가

This commit is contained in:
Rinjae
2025-12-12 19:29:14 +09:00
parent 3589b5d00d
commit bc8807f0b5
3 changed files with 112 additions and 0 deletions
+3
View File
@@ -78,6 +78,9 @@
<context:exclude-filter type="aspectj"
expression="!com.eactive.eai.rms..*Controller" />
</context:component-scan>
<!-- .json 요청에서 빈 응답을 {} 로 변환하는 ResponseBodyAdvice -->
<bean class="com.eactive.eai.rms.common.advice.EmptyJsonResponseAdviceController" />
<mvc:interceptors>
<mvc:interceptor>
<mvc:mapping path="/**" />