From d915e1703067b1e62b6147f4a987f3c5baef1c8b Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Tue, 5 Jul 2022 15:49:28 +0800 Subject: [PATCH] 1 --- BBWY.Test/Program.cs | 43 +++++++++++++++++++++++++++++++++++-------- 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/BBWY.Test/Program.cs b/BBWY.Test/Program.cs index 16781cbc..0aa70d02 100644 --- a/BBWY.Test/Program.cs +++ b/BBWY.Test/Program.cs @@ -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(); }