/**
*获取6位数验证码
*/
public static int getValidateNumber(){
Random random = new Random();
int number=0;
for(int i = 0; i < 6;i++) {
number=Math.abs(random.nextInt())%10;
}
return number;
}
*获取6位数验证码
*/
public static int getValidateNumber(){
Random random = new Random();
int number=0;
for(int i = 0; i < 6;i++) {
number=Math.abs(random.nextInt())%10;
}
return number;
}