MaxKey hace 2 años
padre
commit
64f2adb2a0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      maxkey-core/src/main/java/org/maxkey/entity/apps/Apps.java

+ 2 - 0
maxkey-core/src/main/java/org/maxkey/entity/apps/Apps.java

@@ -84,6 +84,7 @@ public class Apps extends JpaBaseEntity implements Serializable {
     String iconId;
     
     @Column
+    @JsonFormat(shape = JsonFormat.Shape.STRING)
     private int visible;
     
     //引导方式 IDP OR SP,default is IDP
@@ -135,6 +136,7 @@ public class Apps extends JpaBaseEntity implements Serializable {
     @Column
     private int isSignature;
     @Column
+    @JsonFormat(shape = JsonFormat.Shape.STRING)
     private int isAdapter;
     @Column
     private String adapterId;