admin
2019-11-20 8b2191df2f7d94aa299bd43dcbe97c94e5a61bbd
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) + "******";
      }
   }
}