RefundQuery.cs 745 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using WdtSdk;
  7. namespace RefundQuery
  8. {
  9. class RefundQuery
  10. {
  11. static void Main(string[] args)
  12. {
  13. WdtClient client = new WdtClient();
  14. client.sid = "";
  15. client.appkey = "";
  16. client.appsecret = "";
  17. client.gatewayUrl = "http://121.41.177.115/openapi2/refund_query.php";
  18. client.putParams("start_time", "2019-01-01 00:00:00");
  19. client.putParams("end_time", "2019-01-17 00:00:00");
  20. string result = client.wdtOpenapi();
  21. Console.WriteLine(result);
  22. Console.ReadKey();
  23. }
  24. }
  25. }