From cad250f02a66237258d1e96addd4704a1fdefb2f Mon Sep 17 00:00:00 2001 From: _老马_ <mayuanfei@163.com> Date: 星期三, 17 一月 2024 13:47:44 +0800 Subject: [PATCH] !479 update 优化 使用预扫描实体类提升代码性能 * 优化了数据库字段加解密的缓存机制.在自动配置类启动时,就把有加密注解的类进行缓存,以提高速度. --- ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/domain/model/LoginUser.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/domain/model/LoginUser.java b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/domain/model/LoginUser.java index a770089..e267124 100644 --- a/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/domain/model/LoginUser.java +++ b/ruoyi-common/ruoyi-common-core/src/main/java/org/dromara/common/core/domain/model/LoginUser.java @@ -98,6 +98,11 @@ private String username; /** + * 鐢ㄦ埛鏄电О + */ + private String nickname; + + /** * 瑙掕壊瀵硅薄 */ private List<RoleDTO> roles; @@ -108,6 +113,16 @@ private Long roleId; /** + * 瀹㈡埛绔� + */ + private String clientKey; + + /** + * 璁惧绫诲瀷 + */ + private String deviceType; + + /** * 鑾峰彇鐧诲綍id */ public String getLoginId() { -- Gitblit v1.9.3