package com.lxkj.frame.core.converter;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.lxkj.frame.core.annotation.Encrypt;
import com.lxkj.frame.core.status.EnumEnabled;
import com.lxkj.frame.core.status.EnumSysConfig;
import com.lxkj.frame.core.utils.RSAUtils;
import com.lxkj.frame.core.utils.StringUtils;
import com.lxkj.sys.service.SysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.MethodParameter;
import org.springframework.http.MediaType;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.server.ServerHttpRequest;
import org.springframework.http.server.ServerHttpResponse;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.RestControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@RestControllerAdvice
public class ResponseResultAdvice implements ResponseBodyAdvice