mirror of
https://gitee.com/devlive-community/datacap.git
synced 2024-11-29 18:48:23 +08:00
fix(core): fix server code
This commit is contained in:
parent
c9092e0d3c
commit
ac40b7459b
@ -1,6 +1,7 @@
|
||||
package io.edurt.datacap.service.converter;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.core.MethodParameter;
|
||||
import org.springframework.http.MediaType;
|
||||
@ -14,6 +15,7 @@ import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
|
||||
|
||||
@Slf4j
|
||||
@RestControllerAdvice
|
||||
@SuppressFBWarnings(value = {"EI_EXPOSE_REP2"})
|
||||
public class DynamicJsonViewHttpMessageConverter
|
||||
implements ResponseBodyAdvice<Object>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user