We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述
在com.chenhaiyang.plugin.mybatis.sensitive.type.handler.BandCardSensitiveHandler中的handle针对银行卡号脱敏的方法与注释不符,存在bug。
com.chenhaiyang.plugin.mybatis.sensitive.type.handler.BandCardSensitiveHandler
handle
// 关键源码 StringUtils.left(bankCard, 4).concat(StringUtils.removeStart(StringUtils.leftPad(StringUtils.right(bankCard, 4), StringUtils.length(bankCard), "*"), "***"))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
问题描述
在
com.chenhaiyang.plugin.mybatis.sensitive.type.handler.BandCardSensitiveHandler
中的handle
针对银行卡号脱敏的方法与注释不符,存在bug。源码中,StringUtils.removeStart("", ""), 移除填充的卡号时少了一位,导致结果多出一个*
The text was updated successfully, but these errors were encountered: