public String generateUUID() {
String uuid = UUID.randomUUID().toString();
uuid = uuid.replace("-", "");
return uuid;
}
public String generateUUID() {
String uuid = UUID.randomUUID().toString();
uuid = uuid.replace("-", "");
return uuid;
}
转载于:https://www.cnblogs.com/chengxuyuanIng/p/10518017.html