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.
40 lines
1.6 KiB
40 lines
1.6 KiB
using BBWY.Client.Models;
|
|
using BBWY.Common.Http;
|
|
using BBWY.Common.Models;
|
|
using System;
|
|
using System.Net.Http;
|
|
|
|
namespace BBWY.Client.APIServices
|
|
{
|
|
public class AfterOrderService : BaseApiService, IDenpendency
|
|
{
|
|
public AfterOrderService(RestApiService restApiService, GlobalContext globalContext) : base(restApiService, globalContext)
|
|
{
|
|
|
|
}
|
|
|
|
public ApiResponse<AfterSaleOrderListResponse> GetAfterSaleOrderList(long shopId,
|
|
string orderId,
|
|
DateTime? startDate,
|
|
DateTime? endDate,
|
|
string spu,
|
|
string sku,
|
|
string serviceId,
|
|
int pageIndex,
|
|
int pageSize)
|
|
{
|
|
return SendRequest<AfterSaleOrderListResponse>(globalContext.BBYWApiHost, "/Api/AfterSaleOrder/GetAfterSaleOrderList", new
|
|
{
|
|
shopId,
|
|
orderId,
|
|
startDate,
|
|
endDate,
|
|
spu,
|
|
sku,
|
|
serviceId,
|
|
pageIndex,
|
|
pageSize
|
|
}, null, HttpMethod.Post);
|
|
}
|
|
}
|
|
}
|