You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
847 B
27 lines
847 B
using BBWYB.Server.Business;
|
|
using BBWYB.Server.Model.Dto;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BBWYB.Server.API.Controllers
|
|
{
|
|
public class PurchaserController : BaseApiController
|
|
{
|
|
private PurchaserBusiness purchaserBusiness;
|
|
|
|
public PurchaserController(IHttpContextAccessor httpContextAccessor, PurchaserBusiness purchaserBusiness) : base(httpContextAccessor)
|
|
{
|
|
this.purchaserBusiness = purchaserBusiness;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 查询采购商列表
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
[HttpPost]
|
|
public ListResponse<PurchaserResponse> QueryPurchaserList([FromBody] QueryPurchaserRequest request)
|
|
{
|
|
return purchaserBusiness.QueryPurchaserList(request);
|
|
}
|
|
}
|
|
}
|
|
|