UUID tool

This commit is contained in:
xwolf
2018-03-27 13:33:09 +08:00
parent 637108f9af
commit ad84dbc0bb
@@ -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();
}
}