import java.util.UUID;
/***
* UUID
* @author 杨红杰
* @date 2018/11/30
*/
public class UUIDUtil {
private UUIDUtil() {}
public static String generate() {
return UUID.randomUUID().toString().replace("-", "");
}
}
import java.util.UUID;
/***
* UUID
* @author 杨红杰
* @date 2018/11/30
*/
public class UUIDUtil {
private UUIDUtil() {}
public static String generate() {
return UUID.randomUUID().toString().replace("-", "");
}
}