mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 全局替换为 Convert.toStr,优化 null 字符串处理
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package org.dromara.common.sensitive.core;
|
||||
|
||||
import cn.hutool.core.convert.Convert;
|
||||
import cn.hutool.core.util.DesensitizedUtil;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@ -52,7 +53,7 @@ public enum SensitiveStrategy {
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
USER_ID(s -> String.valueOf(DesensitizedUtil.userId())),
|
||||
USER_ID(s -> Convert.toStr(DesensitizedUtil.userId())),
|
||||
|
||||
/**
|
||||
* 密码
|
||||
|
Reference in New Issue
Block a user