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

44 lines
1.7 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 ServiceOrderService : BaseApiService, IDenpendency
{
public ServiceOrderService(RestApiService restApiService, GlobalContext globalContext) : base(restApiService, globalContext)
{
}
public ApiResponse<ServiceOrderResponse> GetList(string orderId,
string sku,
string spu,
string serviceId,
string shopId,
ServiceOrderState? serviceOrderState,
ReturnDirection? returnDirection,
int pageIndex,
int pageSize,
DateTime? startDate,
DateTime? endDate)
{
return SendRequest<ServiceOrderResponse>(globalContext.BBYWApiHost, "Api/ServiceOrder/GetList", new
{
orderId,
sku,
spu,
serviceId,
shopId,
serviceOrderState,
returnDirection,
pageIndex,
pageSize,
startDate,
endDate
}, null, HttpMethod.Post);
}
}
}