【8.1.1】降低fastjson版本,确保兼容性

pull/60/head
fengshuonan 2024-02-19 17:02:19 +08:00
parent ea75733f0a
commit eb408f90b4
4 changed files with 8 additions and 8 deletions

View File

@ -3,8 +3,8 @@ package cn.stylefeng.roses.kernel.log.api.util;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import cn.stylefeng.roses.kernel.log.api.context.BusinessLogHolder;
import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONWriter;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
/**
*
@ -50,7 +50,7 @@ public class BusinessLogUtil {
if (param instanceof String) {
stringBuffer.append(param);
} else {
stringBuffer.append(JSON.toJSONString(param, JSONWriter.Feature.PrettyFormat));
stringBuffer.append(JSON.toJSONString(param, SerializerFeature.PrettyFormat));
}
}
BusinessLogHolder.addContent(stringBuffer.toString());

View File

@ -2,7 +2,7 @@ package cn.stylefeng.roses.kernel.sys.modular.theme.factory;
import cn.hutool.core.util.StrUtil;
import cn.stylefeng.roses.kernel.sys.modular.theme.pojo.DefaultTheme;
import com.alibaba.fastjson2.JSONObject;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import java.beans.IntrospectionException;

View File

@ -31,9 +31,9 @@ import cn.stylefeng.roses.kernel.sys.modular.theme.service.SysThemeService;
import cn.stylefeng.roses.kernel.sys.modular.theme.service.SysThemeTemplateFieldService;
import cn.stylefeng.roses.kernel.sys.modular.theme.service.SysThemeTemplateRelService;
import cn.stylefeng.roses.kernel.sys.modular.theme.service.SysThemeTemplateService;
import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONObject;
import com.alibaba.fastjson2.TypeReference;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

View File

@ -114,7 +114,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<roses.version>8.1.1</roses.version>
<hutool.version>5.8.16</hutool.version>
<fastjson.version>2.0.26</fastjson.version>
<fastjson.version>1.2.83</fastjson.version>
<lombok.versin>1.18.26</lombok.versin>
<mp.version>3.5.3.1</mp.version>
<mysql-connector-java.version>8.0.21</mysql-connector-java.version>