mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 02:48:17 +08:00
fix json
This commit is contained in:
parent
5048aaae5e
commit
798765a9ad
@ -236,7 +236,7 @@ public class OperateLogController implements AopLogInterface {
|
||||
userOperateLogV1.setResultMsg(ExceptionUtil.stacktraceToString(throwable));
|
||||
userOperateLogV1.setOptStatus(HttpStatus.INTERNAL_SERVER_ERROR.value());
|
||||
} else {
|
||||
String json = value.toString();
|
||||
String json = JSONObject.toJSONString(value);
|
||||
userOperateLogV1.setResultMsg(json);
|
||||
try {
|
||||
JsonMessage<?> jsonMessage = JSONObject.parseObject(json, JsonMessage.class);
|
||||
|
Loading…
Reference in New Issue
Block a user