tangxiaobao
2021-08-27 c1f1d586e05a537c1745e6536e4324a2b50e490e
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;