xiaoyong931011
2021-06-25 0aa029a621b96b17e7024b10fe0ff969c589b03b
gc-core/src/main/java/com/xzx/gc/common/request/MyResponseBodyAdvice.java
@@ -25,7 +25,6 @@
 * @author
 * @desc 返回数据加密
 */
@Slf4j
@ControllerAdvice
public class MyResponseBodyAdvice implements ResponseBodyAdvice {
@@ -49,9 +48,7 @@
            String authKey = serverHttpRequest.getHeaders().get("authKey").get(0);
            String s = JSONUtil.toJsonStr(body);
            if (!url.contains("/admin")) {
                log.info("这是进入了body");
                Object versionService = SpringUtil.getBean("versionService");
                log.info("这是进入了body:{}", versionService);
                VersionInfo versionInfo = ReflectUtil.invoke(versionService, "find");
                JSONObject jsonObject = JSONUtil.parseObj(s);
                if (versionInfo != null) {