1
0
mirror of synced 2025-11-06 03:20:55 +08:00

!20 修复python的base_time初始值与C#.NET初始值不一致

* 修复python的base_time初始值与C#.NET初始值不一致
This commit is contained in:
cmz
2022-12-07 06:25:01 +00:00
committed by yitter
parent c728595ac9
commit 7bedea215a

View File

@@ -20,7 +20,7 @@ class IdGeneratorOptions:
self.method = 1
# 基础时间ms单位, 不能超过当前系统时间
self.base_time = 1288834974657
self.base_time = 1582136402000
# 机器码, 必须由外部设定, 最大值 2^worker_id_bit_length-1
self.worker_id = worker_id