1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package com.hdl.sdk.link.common.utils;
|
| import java.util.UUID;
|
| /**
| * Created by Tong on 2021/10/8.
| */
| public class IdUtils {
| public static String getUUId() {
| return UUID.randomUUID().toString().replaceAll("-", "");
| }
|
| /**
| * Uid 列表创建使用
| * @return
| */
| public static String getUUIdWithBar() {
| return UUID.randomUUID().toString();
| }
| }
|
|