🎨 Modify the device id generation method (#18)

Modify the device id generation method
This commit is contained in:
ishkong 2023-06-28 12:42:36 +08:00 committed by GitHub
parent 1578a608ca
commit 9905c787c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,7 +120,7 @@ class BaseMysApi:
...
def get_device_id(self) -> str:
device_id = uuid.uuid4().hex
device_id = str(uuid.uuid4()).upper()
return device_id
def generate_seed(self, length: int):