feat: 登录信息加密传输

This commit is contained in:
2026-06-23 16:00:47 +08:00
parent 03ad011f64
commit e56f043483
33 changed files with 2273 additions and 113 deletions

View File

@@ -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() {