Skip to content

Commit 73082a6

Browse files
committed
将所有直接设备处理 一直到 MQTTController里面。
1 parent 2865b43 commit 73082a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExampleServer/MqttControllers/ParamMqttWeatherForecastController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public ParamMqttWeatherForecastController(ILogger<ParamMqttWeatherForecastContro
2020

2121

2222
public string devname { get; set; }
23-
[MqttRoute("/")]
23+
[MqttRoute()]
2424
public Task WeatherReport2()
2525
{
2626
_logger.LogInformation($"WeatherReport2");

0 commit comments

Comments
 (0)