Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
looly committed Mar 28, 2021
1 parent e8d15ec commit 8d28db0
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static String address(String address, int sensitiveSize) {
}

/**
* 【电子邮箱】邮箱前缀仅显示第一个字母,前缀其他隐藏,用星号代替,@及后面的地址显示,比如:d**@126.com>
* 【电子邮箱】邮箱前缀仅显示第一个字母,前缀其他隐藏,用星号代替,@及后面的地址显示,比如:d**@126.com
*
* @param email 邮箱
* @return 脱敏后的邮箱
Expand Down Expand Up @@ -223,11 +223,11 @@ public static String password(String password) {

/**
* 【中国车牌】车牌中间用*代替
* eg1:null => ""
* eg1:"" => ""
* eg3:苏D40000 => 苏D4***0
* eg4:陕A12345D => 陕A1****D
* eg5:京A123 => 京A123 如果是错误的车牌,不处理
* eg1:null -》 ""
* eg1:"" -》 ""
* eg3:苏D40000 -》 苏D4***0
* eg4:陕A12345D -》 陕A1****D
* eg5:京A123 -》 京A123 如果是错误的车牌,不处理
*
* @param carLicense 完整的车牌号
* @return 脱敏后的车牌
Expand Down

0 comments on commit 8d28db0

Please sign in to comment.