mirror of https://gitee.com/stylefeng/roses
【8.1.1】降低fastjson版本,确保兼容性
parent
ea75733f0a
commit
eb408f90b4
|
@ -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());
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue