yujian
2019-08-22 427737a79fe272fc0d54911fdf9d0e75a17d61a7
fanli/src/main/java/com/yeshi/fanli/util/account/UserUtil.java
@@ -182,12 +182,10 @@
   public static String filterOrderId(String orderId) {
      if (orderId == null || orderId.length() <= 6)
         return orderId;
      if (orderId.length() <= 16) {// 隐藏3位
         return orderId.substring(0, orderId.length() - 3) + "***";
      if (orderId.length() <= 16) {// 隐藏2位
         return orderId.substring(0, orderId.length() - 2) + "**";
      } else {// 隐藏6位
         return orderId.substring(0, orderId.length() - 6) + "******";
      }
   }
}