修改数据类型

feature-flyModify
zhangbin 2025-07-04 15:19:17 +08:00
parent 09889ee15a
commit fd5b40fc95
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ namespace OpenAuth.WebApi.Model.mqtt
Topic = topic,
Method = root["method"]?.ToString() ?? "",
CreateTime = DateTime.Now,
Data = root.ToString()
Data = payload
});
var sub_device = root["data"]?["sub_device"]?.ToString() ?? "";
if (!string.IsNullOrEmpty(sub_device))