mirror of
https://github.com/luoye663/e5.git
synced 2026-03-13 01:21:42 +00:00
临时更改为异步执行
This commit is contained in:
@@ -42,14 +42,14 @@ public class dome01 {
|
||||
@Test
|
||||
public void r(){
|
||||
for (int i = 0; i < 30; i++) {
|
||||
System.out.println(getRandom(60,120));
|
||||
System.out.println(getRandom(3600,7200));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public String getRandom(int start, int end){
|
||||
Random r = new Random();
|
||||
String Expiration = String.valueOf((r.nextInt(end-start +1) + start));
|
||||
String Expiration = String.valueOf((r.nextInt(end-start +1) + start) );
|
||||
return Expiration;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user