!1106 【Bug修复】修复滑动脱敏处理器禁用脱敏的判断
Merge pull request !1106 from Asa/master-jdk17
This commit is contained in:
commit
5bf6361ebd
|
@ -17,7 +17,7 @@ public abstract class AbstractSliderDesensitizationHandler<T extends Annotation>
|
|||
public String desensitize(String origin, T annotation) {
|
||||
// 1. 判断是否禁用脱敏
|
||||
Object disable = SpringExpressionUtils.parseExpression(getDisable(annotation));
|
||||
if (Boolean.FALSE.equals(disable)) {
|
||||
if (Boolean.TRUE.equals(disable)) {
|
||||
return origin;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue