Merge branch 'main' into test-clean

This commit is contained in:
stu2not
2026-05-08 14:31:36 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ async def bind_nfc(
# current_user_id: int = Depends(get_current_user_id)
):
service = await _get_service()
msg_id = await service.send_bind_nfc_command(req.device_id, req.uuid)
msg_id = await service.send_bind_nfc_command(req.device_id)
return CommandResponse(msg_id=msg_id, device_id=req.device_id)

View File

@@ -457,7 +457,7 @@ class TalkingQMQTTService:
return "004"
async def send_bind_nfc_command(self, device_id: str, uuid: str) -> str:
async def send_bind_nfc_command(self, device_id: str) -> str:
topic = f"device/{device_id}/command"
payload = {
"msg_id": "006",