public class RandomUtil extends Object
| 构造器和说明 |
|---|
RandomUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getFourRandom()
4位验证码(0000-9999)
|
static String |
getRandomString(int length)
指定数量的随机数
|
static String |
randomStr(int len)
返回随机字符串,同时包含数字、大小写字母
|
Copyright © 2019. All rights reserved.