Former-commit-id: 8044b2e1a4be03237cd31a8c5ec7032923a0a518
TangShanKaiPing
wanggang 6 years ago
parent d6ad39c327
commit 1bb1878fe5

@ -29,10 +29,7 @@ namespace IoTCenter.Services
} }
else if (message == "ApiCallback") else if (message == "ApiCallback")
{ {
if (!string.IsNullOrEmpty(connectionId)) this.ApiCallback(message, connectionId);
{
this.ServerToClient(connectionId, "ApiCallback", message);
}
} }
} }
@ -96,5 +93,13 @@ namespace IoTCenter.Services
} }
} }
} }
public void ApiCallback(string message, string connectionId)
{
if (!string.IsNullOrEmpty(connectionId))
{
this.ServerToClient(connectionId, "ApiCallback", message);
}
}
} }
} }
Loading…
Cancel
Save