feat 获取设备
This commit is contained in:
@@ -139,4 +139,14 @@ public class DevicesController : ControllerBase
|
||||
{
|
||||
return await _deviceService.CheckExistsAsync(deviceUniqueNo);
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取设备
|
||||
/// </summary>
|
||||
/// <param name="UniqueNo"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public async Task<DeviceResponse> GetSettingASync(string UniqueNo)
|
||||
{
|
||||
return await _deviceService.GetSettingASync(UniqueNo);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user