提交 b18662ef authored 作者: Whispa's avatar Whispa

commit

上级 eff34b6f
...@@ -269,8 +269,8 @@ public class AuthController extends Controller { ...@@ -269,8 +269,8 @@ public class AuthController extends Controller {
Calendar cal = Calendar.getInstance(); Calendar cal = Calendar.getInstance();
long currentTime = cal.getTimeInMillis(); long currentTime = cal.getTimeInMillis();
long Max = 9999999999999L; long Max = 999999L;
long Min = 1000000000000L; long Min = 100000L;
long range = Math.abs((long) (Math.random() * (Max - Min)) + Min); long range = Math.abs((long) (Math.random() * (Max - Min)) + Min);
long id = Math.addExact(currentTime, range); long id = Math.addExact(currentTime, range);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论