|
|
@ -30,16 +30,43 @@ namespace BBWY.Test |
|
|
|
var token = "940b1e24d84843ffbbee3833984a6f0bwyjf"; |
|
|
|
var jdClient = GetJdClient(appKey, appSecret); |
|
|
|
|
|
|
|
PopAfsSoaRefundapplyQueryPageListRequest req = new PopAfsSoaRefundapplyQueryPageListRequest(); |
|
|
|
//req.ids = "1428310918";
|
|
|
|
req.orderId = "249207996365"; |
|
|
|
req.checkTimeStart = DateTime.Now.AddDays(-7).ToString("yyyy-MM-dd HH:mm:ss"); |
|
|
|
req.checkTimeEnd = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); |
|
|
|
req.pageIndex =1; |
|
|
|
req.pageSize = 50; |
|
|
|
//PopAfsSoaRefundapplyQueryPageListRequest req = new PopAfsSoaRefundapplyQueryPageListRequest();
|
|
|
|
////req.ids = "1428310918";
|
|
|
|
////req.orderId = "249207996365";
|
|
|
|
//req.checkTimeStart = DateTime.Now.AddDays(-7).ToString("yyyy-MM-dd HH:mm:ss");
|
|
|
|
//req.checkTimeEnd = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
|
|
|
//req.pageIndex =1;
|
|
|
|
//req.pageSize = 50;
|
|
|
|
|
|
|
|
|
|
|
|
PopAfsSoaRefundapplyQueryPageListResponse response = jdClient.Execute(req, token, DateTime.Now.ToLocalTime()); |
|
|
|
//PopAfsSoaRefundapplyQueryPageListResponse response = jdClient.Execute(req, token, DateTime.Now.ToLocalTime());
|
|
|
|
//Console.WriteLine(JsonConvert.SerializeObject(response));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AscServiceAndRefundViewRequest req = new AscServiceAndRefundViewRequest(); |
|
|
|
|
|
|
|
|
|
|
|
req.orderId = 249042075658; |
|
|
|
|
|
|
|
//req.applyTimeBegin = ;
|
|
|
|
|
|
|
|
//req.applyTimeEnd = ;
|
|
|
|
|
|
|
|
//req.approveTimeBegin = ;
|
|
|
|
|
|
|
|
//req.approveTimeEnd = ;
|
|
|
|
|
|
|
|
//req.pageNumber = ;
|
|
|
|
|
|
|
|
//req.pageSize = ;
|
|
|
|
|
|
|
|
//req.extJsonStr = ;
|
|
|
|
|
|
|
|
//req.buId = ;
|
|
|
|
|
|
|
|
|
|
|
|
AscServiceAndRefundViewResponse response = jdClient.Execute(req, token, DateTime.Now.ToLocalTime()); |
|
|
|
Console.WriteLine(JsonConvert.SerializeObject(response)); |
|
|
|
Console.ReadKey(); |
|
|
|
} |
|
|
|