| | |
| | | import cn.hutool.crypto.asymmetric.RSA; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import org.springframework.core.MethodParameter; |
| | | import org.springframework.core.Ordered; |
| | | import org.springframework.core.annotation.Order; |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.http.server.ServerHttpRequest; |
| | | import org.springframework.http.server.ServerHttpResponse; |
| | |
| | | * @date 2022-06-14 |
| | | **/ |
| | | @ControllerAdvice |
| | | @Order(value = Ordered.HIGHEST_PRECEDENCE) |
| | | public class MyResponseBodyAdvise implements ResponseBodyAdvice { |
| | | @Override |
| | | public boolean supports(MethodParameter methodParameter, Class aClass) { |