fanli/src/main/java/com/yeshi/fanli/util/account/UserUtil.java
@@ -177,6 +177,17 @@ } } return account; } 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) + "***"; } else {// 隐藏6位 return orderId.substring(0, orderId.length() - 6) + "******"; } } }