From 9905c787c51b1b969bcc55471b1274bd77bd7530 Mon Sep 17 00:00:00 2001 From: ishkong <19740260+ishkong@users.noreply.github.com> Date: Wed, 28 Jun 2023 12:42:36 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Modify=20the=20device=20id=20gen?= =?UTF-8?q?eration=20method=20(#18)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modify the device id generation method --- gsuid_core/utils/api/mys/request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsuid_core/utils/api/mys/request.py b/gsuid_core/utils/api/mys/request.py index 73b89f4..c87c5ed 100644 --- a/gsuid_core/utils/api/mys/request.py +++ b/gsuid_core/utils/api/mys/request.py @@ -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):