修改给服务留言的uuid匹配规则
This commit is contained in:
@@ -337,7 +337,7 @@ class TalkingQMQTTService:
|
||||
params = payload.get("params", {})
|
||||
nfc_uuid = str(params.get("uuid") or "").strip()
|
||||
logger.info(device_id, "", f"[短按留言] 设备 {device_id} 短按发送留言, UUID={nfc_uuid}")
|
||||
if nfc_uuid == settings.talkingq_parent_message_uuid:
|
||||
if nfc_uuid == device_id:
|
||||
await device_target_cache.set_parent_target(device_id, nfc_uuid)
|
||||
response_payload = {
|
||||
"msg_id": "011",
|
||||
|
||||
Reference in New Issue
Block a user