yanghui
2022-11-21 75c25ed895f0f4e3c92db8a718146d8cf959658a
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;