|
|
@@ -7,8 +7,10 @@ import java.util.List;
|
|
|
public class RandomStr {
|
|
|
public static String getRandomStr(){
|
|
|
List<String> list = List.of("qq", "baidu", "weixin");
|
|
|
- return list.get(RandomUtil.randomInt(0, list.size()));
|
|
|
- // return RandomStr.getRandomStr();
|
|
|
+ String s = list.get(RandomUtil.randomInt(0, list.size()));
|
|
|
+ String string = RandomUtil.randomString("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", 4);
|
|
|
+ return s+"-"+string;
|
|
|
+ // return RandomStr.getRandomStr(); String string = RandomUtil.randomString("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", 7);
|
|
|
}
|
|
|
|
|
|
|