UUID tool
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.xwolf.boot.utils;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author xwolf
|
||||
* @version 1.0
|
||||
* @since 1.8
|
||||
*/
|
||||
public class UUIDUtil {
|
||||
|
||||
public static String uuid(){
|
||||
return UUID.randomUUID().toString().replace("-","").toLowerCase();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user