Browse Source

解决元空间保存问题

yucheng 3 years ago
parent
commit
1707f09660
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/main/java/com/persagy/proxy/adm/model/AdmPoint.java

+ 5 - 0
src/main/java/com/persagy/proxy/adm/model/AdmPoint.java

@@ -1,5 +1,6 @@
 package com.persagy.proxy.adm.model;
 
+import com.alibaba.fastjson.annotation.JSONField;
 import lombok.Data;
 
 /**
@@ -9,12 +10,16 @@ import lombok.Data;
  */
 @Data
 public class AdmPoint {
+
     /** 坐标x */
+    @JSONField(name = "X")
     private Double x;
 
     /** 坐标y */
+    @JSONField(name = "Y")
     private Double y;
 
     /** 坐标z */
+    @JSONField(name = "Z")
     private Double z;
 }