apppublic/appPublic/uniqueID.py

10 lines
130 B
Python
Raw Normal View History

2019-07-16 16:33:07 +08:00
import uuid
2022-02-24 21:55:20 +08:00
from nanoid import generate
2019-07-16 16:33:07 +08:00
def setNode(n='ff001122334455'):
2022-02-24 21:55:20 +08:00
pass
2019-07-16 16:33:07 +08:00
2022-02-24 21:55:20 +08:00
def getID(size=21):
return generate(size=size)
2019-07-16 16:33:07 +08:00