admin
2019-09-25 28a0efc6ec16f3f82eb8e16e87269300d6744fd4
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) + "******";
      }
   }
}