赞
踩
高并发下生成随机数
ThreadLocalRandom current = ThreadLocalRandom.current(); System.out.println(current.nextInt(100));