步步为盈
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.

30 lines
900 B

3 years ago
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 ToDayOrderAchievementResponse GetTodayAchievementStatistics(ToDayOrderAchievementRequest request)
{
return statisticsBusiness.GetTodayAchievementStatistics(request);
}
}
}