mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-10 20:57:14 +08:00
refactor: 优化认证及客户端相关代码
This commit is contained in:
@@ -65,12 +65,12 @@ public class SysConstants {
|
||||
public static final String ALL_PERMISSION = "*:*:*";
|
||||
|
||||
/**
|
||||
* 账号登录 URI
|
||||
* 登录 URI
|
||||
*/
|
||||
public static final String LOGIN_URI = "/auth/login";
|
||||
|
||||
/**
|
||||
* 退出 URI
|
||||
* 登出 URI
|
||||
*/
|
||||
public static final String LOGOUT_URI = "/auth/logout";
|
||||
|
||||
|
@@ -81,12 +81,12 @@ public class UserContext implements Serializable {
|
||||
private Set<RoleContext> roles;
|
||||
|
||||
/**
|
||||
* 设备类型
|
||||
* 客户端类型
|
||||
*/
|
||||
private String clientType;
|
||||
|
||||
/**
|
||||
* 客户端ID
|
||||
* 客户端 ID
|
||||
*/
|
||||
private String clientId;
|
||||
|
||||
|
Reference in New Issue
Block a user