NuGet包 单例配置var options = new IdGeneratorOptions(1);YitIdHelper.SetIdGenerator(options); 放到Id上var newId = YitIdHelper.NextId();