| | |
| | | name = dest.getName().charAt(0) + "*";
|
| | | dest.setName(name);
|
| | |
|
| | | String account =filterAlipayAccount(dest.getAccount());
|
| | | String account = filterAlipayAccount(dest.getAccount());
|
| | |
|
| | | dest.setAccount(account);
|
| | | }
|
| | |
| | | return account;
|
| | | }
|
| | |
|
| | | public static String filterOrderId(String orderId) {
|
| | | if (orderId == null || orderId.length() <= 6)
|
| | | return orderId;
|
| | | if (orderId.length() <= 16) {// 隐藏2位
|
| | | return orderId.substring(0, orderId.length() - 2) + "**";
|
| | | } else {// 隐藏6位
|
| | | return orderId.substring(0, orderId.length() - 6) + "******";
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | }
|