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.
29 lines
852 B
29 lines
852 B
3 years ago
|
using BBWY.Client.Models;
|
||
|
using BBWY.Common.Http;
|
||
|
using BBWY.Common.Models;
|
||
|
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()
|
||
|
{
|
||
|
return SendRequest<ToDayOrderAchievementResponse>(globalContext.BBYWApiHost, "Api/Statistics/GetTodayAchievementStatistics", new
|
||
|
{
|
||
|
ShopId = globalContext.User.Shop.ShopId
|
||
|
},
|
||
|
null, HttpMethod.Post);
|
||
|
}
|
||
|
}
|
||
|
}
|