mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-24 17:49:02 +08:00
refactor: 默认设备类型改为 DEF (源码注释与文档部分)
This commit is contained in:
@@ -117,7 +117,7 @@ value 格式
|
||||
"@class": "cn.dev33.satoken.session.SaTerminalInfo",
|
||||
"index": 1,
|
||||
"tokenValue": "2551663f-bb98-47d7-9af3-e2e6a28dadce", // 客户端 token 值
|
||||
"deviceType": "default-device", // 登录设备类型
|
||||
"deviceType": "DEF", // 登录设备类型
|
||||
"deviceId": "xxxxxxxxx", // 登录设备id
|
||||
"extraData": {
|
||||
// 扩展信息列表 (手动自定义值)
|
||||
|
||||
@@ -16,7 +16,7 @@ token信息Model: 用来描述一个token的常用参数
|
||||
"sessionTimeout": 2591977, // Account-Session剩余有效时间 (单位: 秒)
|
||||
"tokenSessionTimeout": -2, // Token-Session剩余有效时间 (单位: 秒) (-2表示系统中不存在这个缓存)
|
||||
"tokenActiveTimeout": -1, // token 距离被冻结还剩的时间 (单位: 秒)
|
||||
"loginDevice": "default-device" // 登录设备类型
|
||||
"loginDevice": "DEF" // 登录设备类型
|
||||
},
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user