mirror of
https://github.com/Remik1r3n/maimaiDX-Api.git
synced 2025-05-20 04:17:28 +08:00
Merge branch 'master' of https://github.com/Remik1r3n/maimaiDX-Api
This commit is contained in:
commit
47cbd5b09a
@ -5,9 +5,9 @@
|
||||
import hashlib
|
||||
import time
|
||||
import requests
|
||||
import rapidjson as json
|
||||
import json
|
||||
import re
|
||||
|
||||
from loguru import logger
|
||||
# 常量
|
||||
CHIP_ID = "A63E-01E68606624"
|
||||
COMMON_KEY = "XcW5FW4cPArBXEk4vzKz3CIrMuA5EVVW"
|
||||
@ -106,6 +106,7 @@ def implGetUID(qr_content:str) -> dict:
|
||||
# 发送请求并处理响应
|
||||
try:
|
||||
result = json.loads(implAimeDB(qr_content))
|
||||
logger.info(f"QRScan Got Response {result}")
|
||||
except:
|
||||
return {'errorID': 60002} # 无法解码 Response 的内容
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user