Skip to content

Commit f0d372d

Browse files
committed
2 parents 6518073 + c1dab62 commit f0d372d

File tree

1 file changed

+4
-0
lines changed
  • jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/entity

1 file changed

+4
-0
lines changed

jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/entity/SysUser.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import java.util.Date;
44

55
import com.baomidou.mybatisplus.annotation.TableLogic;
6+
import com.fasterxml.jackson.annotation.JsonIgnore;
7+
import com.fasterxml.jackson.annotation.JsonProperty;
68
import org.jeecg.common.aspect.annotation.Dict;
79
import org.jeecgframework.poi.excel.annotation.Excel;
810
import org.springframework.format.annotation.DateTimeFormat;
@@ -53,11 +55,13 @@ public class SysUser implements Serializable {
5355
/**
5456
* 密码
5557
*/
58+
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
5659
private String password;
5760

5861
/**
5962
* md5密码盐
6063
*/
64+
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
6165
private String salt;
6266

6367
/**

0 commit comments

Comments
 (0)