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

32 lines
945 B

3 years ago
using BBWY.Client.Models;
using BBWY.Common.Http;
using BBWY.Common.Models;
using System;
3 years ago
using System.Net.Http;
namespace BBWY.Client.APIServices
{
public class StatisticsService : BaseApiService, IDenpendency
{
public StatisticsService(RestApiService restApiService, GlobalContext globalContext) : base(restApiService, globalContext)
{
}
/// <summary>
/// 今日业绩统计
/// </summary>
/// <returns></returns>
public ApiResponse<ToDayOrderAchievementResponse> GetTodayAchievementStatistics(DateTime startTime, DateTime endTime)
3 years ago
{
return SendRequest<ToDayOrderAchievementResponse>(globalContext.BBYWApiHost, "Api/Statistics/GetOrderAchievementStatistics", new
3 years ago
{
globalContext.User.Shop.ShopId,
startTime,
endTime
3 years ago
},
null, HttpMethod.Post);
}
}
}