yujian
2019-08-29 278c4212005b70a5584e4c835663a49240f92e92
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) + "******";
      }
   }
}