|
|
@@ -1,6 +1,7 @@ |
|
|
|
using BPA.SAAS.Manage.Application.Device.Dtos.Device; |
|
|
|
using BPA.SAAS.Manage.Application.Device.Interface; |
|
|
|
using BPA.SAAS.Manage.Core.Base; |
|
|
|
using BPA.SAAS.Manage.Core.Device; |
|
|
|
using BPA.SAAS.Manage.Core.Product; |
|
|
|
using Microsoft.AspNetCore.Components.Forms; |
|
|
|
using System; |
|
|
@@ -39,6 +40,16 @@ namespace BPA.SAAS.Manage.Application.Device |
|
|
|
return await _productService.GetProductList(); |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|
/// 根据产品id查询产品信息 |
|
|
|
/// </summary> |
|
|
|
/// <param name="productId"></param> |
|
|
|
/// <returns></returns> |
|
|
|
[HttpGet("/api/product/getdevice")] |
|
|
|
public async Task<BPA_DeviceInfo> GetDevice(string productId) |
|
|
|
{ |
|
|
|
return await _productService.GetDevice(productId); |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|
/// 添加 |
|
|
|
/// </summary> |
|
|
|
/// <param name="inputDto"></param> |
|
|
|