紧急修复端点名称

This commit is contained in:
dell
2025-08-29 17:27:49 +08:00
parent d9700aea01
commit b216593468

View File

@ -151,7 +151,7 @@ namespace HTCoreServiceApp
async (string deviceCode, string plcTag, string value, HttpContext context, DeviceControl dc)
=> Results.Content(await dc.SetDevicePlcTagData(deviceCode, plcTag, value, context)));
deviceControl.MapGet("/SetDevicePlcTagData/deviceCode={deviceCode}&plcTag={plcTag}&value={value}",
deviceControl.MapGet("/SetDevicePlcTagDataHeartbeat/deviceCode={deviceCode}&plcTag={plcTag}&value={value}",
async (string deviceCode, string plcTag, string value, HttpContext context, DeviceControl dc)
=> Results.Content(await dc.SetDevicePlcTagDataHeartbeat(deviceCode, plcTag, value, context)));