1
0
mirror of synced 2025-12-17 02:28:12 +08:00

feat: python m1版id生成器

This commit is contained in:
koukouchan
2022-08-07 16:33:59 +08:00
parent 1fb780d634
commit d3c795e3b7
8 changed files with 183 additions and 42 deletions

View File

@@ -7,5 +7,5 @@ class SnowFlake(object):
def __init__(self, options):
self.Options = options
def NextId(self):
def NextId(self) -> int:
return 0