package cn.itcast.shop.utils;
import java.util.UUID;
/**
* 生成随机字符串的工具类
* @author mischen
*
*/
public class UUIDUtils {
/**
* 获得随机的字符串
* @return
*/
public static String getUUID(){
return UUID.randomUUID().toString().replace("-", "");
}
}
生成随机字符串的工具类
最新推荐文章于 2024-07-08 18:09:16 发布