feat: 登录信息加密传输
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
package tech.easyflow.system.entity;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import tech.easyflow.common.entity.LoginAccount;
|
||||
import tech.easyflow.system.entity.base.SysAccountBase;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.mybatisflex.annotation.Column;
|
||||
import com.mybatisflex.annotation.RelationManyToMany;
|
||||
import com.mybatisflex.annotation.Table;
|
||||
import tech.easyflow.common.entity.LoginAccount;
|
||||
import tech.easyflow.system.entity.base.SysAccountBase;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 用户表 实体类。
|
||||
@@ -38,6 +40,9 @@ public class SysAccount extends SysAccountBase {
|
||||
)
|
||||
private List<BigInteger> positionIds;
|
||||
|
||||
@Column(ignore = true)
|
||||
private Map<String, Object> passwordCredential;
|
||||
|
||||
public List<BigInteger> getRoleIds() {
|
||||
return roleIds;
|
||||
}
|
||||
@@ -54,6 +59,14 @@ public class SysAccount extends SysAccountBase {
|
||||
this.positionIds = positionIds;
|
||||
}
|
||||
|
||||
public Map<String, Object> getPasswordCredential() {
|
||||
return passwordCredential;
|
||||
}
|
||||
|
||||
public void setPasswordCredential(Map<String, Object> passwordCredential) {
|
||||
this.passwordCredential = passwordCredential;
|
||||
}
|
||||
|
||||
@Override
|
||||
@JSONField(serialize = false)
|
||||
public String getPassword() {
|
||||
|
||||
Reference in New Issue
Block a user