Browse Source

取消User密码字段序列化

test
smallchill 5 years ago
parent
commit
acc2175f46
  1. 2
      blade-service-api/blade-user-api/src/main/java/org/springblade/system/user/entity/User.java

2
blade-service-api/blade-user-api/src/main/java/org/springblade/system/user/entity/User.java

@ -17,6 +17,7 @@
package org.springblade.system.user.entity; package org.springblade.system.user.entity;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity; import org.springblade.core.tenant.mp.TenantEntity;
@ -46,6 +47,7 @@ public class User extends TenantEntity {
/** /**
* 密码 * 密码
*/ */
@JsonIgnore
private String password; private String password;
/** /**
* 昵称 * 昵称

Loading…
Cancel
Save