2025-12-29 16:06:48 +08:00
|
|
|
|
package com.senmesh.common.exception.util;
|
2025-06-11 09:42:13 +08:00
|
|
|
|
|
2025-12-29 16:06:48 +08:00
|
|
|
|
import com.senmesh.common.util.RandomUtils;
|
2025-06-11 09:42:13 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 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();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|