fix 获取品牌设备增加factory字段
This commit is contained in:
@@ -72,10 +72,13 @@ public class DevicesConnectController : ControllerBase
|
||||
/// 获取品牌设备
|
||||
/// </summary>
|
||||
/// <param name="brand"></param>
|
||||
/// <param name="factory"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("brand-devices")]
|
||||
public async Task<List<DeviceUniqueWithConnectionInfoDto>> GetDeviceUniqueInfoByBrandAsync([Required(ErrorMessage = "请明确设备品牌")] string brand)
|
||||
public async Task<List<DeviceUniqueWithConnectionInfoDto>> GetDeviceUniqueInfoByBrandAsync(
|
||||
[Required(ErrorMessage = "请明确设备品牌")] string brand,
|
||||
[Required(ErrorMessage = "请明确厂区")] string factory)
|
||||
{
|
||||
return await _deviceConnectService.GetDeviceUniqueInfoByBrandAsync(brand);
|
||||
return await _deviceConnectService.GetDeviceUniqueInfoByBrandAsync(brand, factory);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user