1
0
mirror of synced 2025-12-22 21:18:01 +08:00

auto commit

This commit is contained in:
yitter
2021-12-08 23:36:18 +08:00
parent a434e07c5d
commit 1d043bf0fe
4 changed files with 84 additions and 0 deletions

11
Python/soure/SnowFlake.py Normal file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/python
# coding=UTF-8
# 组件编号生成器
class SnowFlake(object):
def __init__(self, options):
self.Options = options
def NextId(self):
return 0