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.
25 lines
731 B
25 lines
731 B
using BBWYB.Server.Business;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace BBWYB.Server.API.Controllers
|
|
{
|
|
|
|
public class AggregationPurchaserController : BaseApiController
|
|
{
|
|
private AggregionPurchaserBusiness aggregionPurchaserBusiness;
|
|
|
|
public AggregationPurchaserController(IHttpContextAccessor httpContextAccessor, AggregionPurchaserBusiness aggregionPurchaserBusiness) : base(httpContextAccessor)
|
|
{
|
|
this.aggregionPurchaserBusiness = aggregionPurchaserBusiness;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 采购商聚合
|
|
/// </summary>
|
|
[HttpPost]
|
|
public void AutoAggregion()
|
|
{
|
|
aggregionPurchaserBusiness.AutoAggregion();
|
|
}
|
|
}
|
|
}
|
|
|