luoxinwu
2023-12-21 5b0f6e6b2a0c7ec4ed0b887236deeb2ea72a6e21
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/Snowflake.java
@@ -7,7 +7,7 @@
 * @date 2021/6/10 15:29
 */
public class Snowflake {
    public static long getId(){
    public static long getId() {
        cn.hutool.core.lang.Snowflake snowflake = IdUtil.getSnowflake(1, 1);
        long id = snowflake.nextId();
        return id;