25 lines
400 B
Java
25 lines
400 B
Java
|
|
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();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|