init
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package com.newyetai.common.exception.util;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import com.newyetai.common.util.RandomUtils;
|
||||
|
||||
/**
|
||||
* uuid工具类
|
||||
* {@link RandomUtils}
|
||||
* @author sr on 2019-12-10
|
||||
*/
|
||||
@Deprecated
|
||||
public class UUIDUtils {
|
||||
|
||||
/**
|
||||
* 生成uuid,去掉-
|
||||
* @return
|
||||
* @author sr on 2019-12-10
|
||||
*/
|
||||
public static String generateUUID() {
|
||||
return RandomUtils.generateUUID();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user