| | |
| | |
|
| | | public static String getInviteShortLink (Long uid) {
|
| | | return HttpUtil.getShortLink("http://" + Constant.wxGZConfig.getLoginHost() + "/"
|
| | | + Constant.systemCommonConfig.getProjectName() + "/"
|
| | | + java.lang.System.currentTimeMillis()+
|
| | | "/client/threeShareNew?uid=" + uid);
|
| | | + Constant.systemCommonConfig.getProjectName() +
|
| | | "/client/threeShareNew?uid=" + uid +"&_=" + java.lang.System.currentTimeMillis());
|
| | | }
|
| | |
|
| | |
|
| | |
| | | }
|
| | |
|
| | | private static String convert10To36(Long num) {
|
| | | String numbers = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
| | | String numbers = "YE9VFA3N6KG7JZH4LD5IO2RBS0QTMPU1WC8X";
|
| | | BigDecimal numBig = new BigDecimal(num);
|
| | |
|
| | | int ge = numBig.divideAndRemainder(new BigDecimal(36))[1].intValue();
|