生成6位验证码

public static int getSixCode(){
return Double.valueOf((Math.random()*9+1)*Math.pow(10,5)).intValue();
}
posted @ 2021-04-15 19:06  Bevis  阅读(101)  评论(0编辑  收藏  举报