|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package com.supervision.config;
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import cn.hutool.json.JSONException;
|
|
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
@ -58,7 +57,7 @@ public class RequestLogConfig {
|
|
|
|
|
String value = null;
|
|
|
|
|
try {
|
|
|
|
|
value = JSONUtil.toJsonStr(result);
|
|
|
|
|
} catch (JSONException e) {
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
value = result.toString();
|
|
|
|
|
}
|
|
|
|
|
if (StrUtil.isNotBlank(value) && value.length() > 10240){
|
|
|
|
|