获取32位随机码(uuid)的方法 public static String uuid(){ String getid=UUID.randomUUID().toString().replace("-", ""); return getid; }