feat(client): 新增家属端设备查询与端隔离鉴权

- 新增 ClientController,支持已绑定设备的信息、定位、应用与截图查询
- JWT 增加 clientType 标识,实现 admin/client 端鉴权隔离
- client 端支持独立配置令牌有效期,并在刷新时按端解析 TTL
- 截图列表仅返回最近 20 条并规范化访问 URL 前缀
This commit is contained in:
TongTongStudio
2026-08-19 03:43:48 +08:00
parent 7687ef4f37
commit 32921274a3
17 changed files with 901 additions and 8 deletions

View File

@@ -45,4 +45,12 @@ public interface JwtClaimConstants {
*/
String TOKEN_VERSION = "tokenVersion";
/**
* 客户端类型clientType
* <p>
* 标识令牌签发端:管理后台为 admin家属客户端为 client。
* 用于实现端与端之间的鉴权隔离(见 {@link com.youlai.boot.common.constant.ClientTypeConstants})。
*/
String CLIENT_TYPE = "clientType";
}