登录token

This commit is contained in:
2023-12-21 22:39:29 +08:00
parent 1399bfd1e5
commit 9a0fa79bcb
9 changed files with 418 additions and 8 deletions

View File

@@ -4,10 +4,13 @@ import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.bind.DefaultValue;
import org.springframework.stereotype.Component;
/**
* ln_user
*/
@Data
public class User implements Serializable {
/**
@@ -146,7 +149,7 @@ public class User implements Serializable {
/**
* 角色组
*/
@Value("1")
private Byte roleId;
private String activeCode;