获取随机数 int random = ThreadLocalRandom.current().ints(70, 100) .distinct().limit(1).findFirst().getAsInt();