|
|
@@ -1,6 +1,7 @@
|
|
|
package com.java110.vo;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
|
import org.springframework.http.HttpHeaders;
|
|
|
import org.springframework.http.HttpStatus;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
@@ -154,7 +155,7 @@ public class ResultVo implements Serializable {
|
|
|
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
- return JSONObject.toJSONString(this);
|
|
|
+ return JSONObject.toJSONString(this, SerializerFeature.DisableCircularReferenceDetect, SerializerFeature.WriteDateUseDateFormat);
|
|
|
}
|
|
|
|
|
|
|