StockoutOrderQueryTrade.cs 771 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 StockoutOrderQueryTrade
  8. {
  9. class StockoutOrderQueryTrade
  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/stockout_order_query_trade.php";
  18. client.putParams("start_time", "2018-10-24 12:30:00");
  19. client.putParams("end_time", "2018-10-24 13:10:00");
  20. string result = client.wdtOpenapi();
  21. Console.WriteLine(result);
  22. Console.ReadKey();
  23. }
  24. }
  25. }