|
@@ -275,7 +275,8 @@ public class TenantAlbumServiceImpl extends ServiceImpl<TenantAlbumMapper, Tenan
|
|
|
tenantActivationCode.setTenantId(tenantAlbumContent.getTenantId());
|
|
|
tenantActivationCode.setTenantAlbumId(tenantAlbumContent.getTenantAlbumId());
|
|
|
tenantActivationCode.setTenantAlbumPurchaseId(tenantAlbumPurchase.getId());
|
|
|
- long l = Long.parseLong(new Date().getTime() + i + String.valueOf(tenantAlbumPurchase.getId()));
|
|
|
+ String s = String.valueOf(tenantAlbumPurchase.getId());
|
|
|
+ long l = Long.parseLong(new Date().getTime() + i + s.substring(s.length()-6));
|
|
|
tenantActivationCode.setActivationCode(StringUtil.DeciamlToThirtySix(l,7));
|
|
|
// tenantActivationCode.setActivationCode(IdWorker.get32UUID());
|
|
|
tenantActivationCode.setSendStatus(EActivationCode.WAIT);
|