| | |
| | | + "/client/threeShareNew?uid=" + uid + "&_=" + java.lang.System.currentTimeMillis());
|
| | | }
|
| | |
|
| | | public static String getInviteCode(Long uid) {
|
| | | public static String getInviteCode(int base, Long uid) {
|
| | |
|
| | | long num = 1000000000L + uid;
|
| | | long num = base * 100000000L + uid ;
|
| | |
|
| | | return convert10To36(num);
|
| | | }
|
| | |
| | | if (orderId == null || orderId.length() <= 6)
|
| | | return orderId;
|
| | | if (orderId.length() <= 16) {// 隐藏2位
|
| | | return orderId.substring(0, orderId.length() - 3) + "**";
|
| | | return orderId.substring(0, orderId.length() - 2) + "**";
|
| | | } else {// 隐藏6位
|
| | | return orderId.substring(0, orderId.length() - 6) + "******";
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | }
|