登录token
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user