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.
31 lines
1.1 KiB
31 lines
1.1 KiB
using BBWY.Client.Models;
|
|
using BBWY.Common.Http;
|
|
using BBWY.Common.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Net.Http;
|
|
|
|
namespace BBWY.Client.APIServices
|
|
{
|
|
public class BillCorrectionService : BaseApiService, IDenpendency
|
|
{
|
|
public BillCorrectionService(RestApiService restApiService, GlobalContext globalContext) : base(restApiService, globalContext)
|
|
{
|
|
}
|
|
|
|
public ApiResponse<IList<BillCorrectionOrderResponse>> GetBillCorrectionOrderList(IList<long> shopIds, DateTime startTime, DateTime endTime)
|
|
{
|
|
return SendRequest<IList<BillCorrectionOrderResponse>>(globalContext.BBYWApiHost, "api/billCorrection/GetBillCorrectionOrderList", new
|
|
{
|
|
shopIds,
|
|
startTime,
|
|
endTime
|
|
}, null, HttpMethod.Post);
|
|
}
|
|
|
|
public ApiResponse<object> CorrectOrder(IList<BillCorrectionRequest> requestList)
|
|
{
|
|
return SendRequest<object>(globalContext.BBYWApiHost, "api/billCorrection/CorrectOrder", requestList, null, HttpMethod.Post);
|
|
}
|
|
}
|
|
}
|
|
|