Browse Source

11

master
fyf 2 years ago
parent
commit
12274df276
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      HBLConsole.Business/IotReport.cs

+ 1
- 1
HBLConsole.Business/IotReport.cs View File

@@ -209,7 +209,7 @@ namespace HBLConsole.Business
{ {
if (IOTDevServer.client != null && IOTDevServer.client.IsConnected && device != null) if (IOTDevServer.client != null && IOTDevServer.client.IsConnected && device != null)
{ {
string url = InternetInfo.IotApiAddress + "/api/Alarm/Create";
string url = InternetInfo.IotApiAddress + "/api/Log/Create";
logTable.ClientId = InternetInfo.ClientId.ToString(); logTable.ClientId = InternetInfo.ClientId.ToString();
logTable.devicename = device.devicename; logTable.devicename = device.devicename;
string redata = HttpRequestHelper.HttpPostRequest(url,Tools.JsonConvertTools(logTable)); string redata = HttpRequestHelper.HttpPostRequest(url,Tools.JsonConvertTools(logTable));


Loading…
Cancel
Save