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.
|
|
|
using BBWY.Server.Business;
|
|
|
|
using BBWY.Server.Model.Dto;
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
namespace BBWY.Server.API.Controllers
|
|
|
|
{
|
|
|
|
|
|
|
|
public class StatisticsController : BaseApiController
|
|
|
|
{
|
|
|
|
private StatisticsBusiness statisticsBusiness;
|
|
|
|
|
|
|
|
public StatisticsController(IHttpContextAccessor httpContextAccessor, StatisticsBusiness statisticsBusiness) : base(httpContextAccessor)
|
|
|
|
{
|
|
|
|
this.statisticsBusiness = statisticsBusiness;
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 今日业绩统计
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="request"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost]
|
|
|
|
public OrderAchievementResponse GetOrderAchievementStatistics([FromBody] OrderAchievementRequest request)
|
|
|
|
{
|
|
|
|
return statisticsBusiness.GetOrderAchievementStatistics(request);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|