最新代码

This commit is contained in:
admin
2024-06-05 15:54:18 +08:00
parent aa68b33ca5
commit 80102a56fc
274 changed files with 13634 additions and 1347 deletions

View File

@@ -0,0 +1,20 @@
package com.starry.common.utils;
import java.util.UUID;
/**
* @author admin
* @since 2024/5/13 下午11:07
**/
public class IdUtils {
/**
* 生成16位的UUID
*
* @return UUID
*/
public static String getUuid() {
return UUID.randomUUID().toString().replaceAll("-", "").substring(0, 12);
}
}