StockoutOrderQuery.cs 804 B

1234567891011121314151617181920212223242526272829
  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 StockoutOrderQuery
  8. {
  9. class StockoutOrderQuery
  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.php";
  18. client.putParams("start_time", "2017-04-05 00:00:00");
  19. client.putParams("end_time", "2017-04-05 23:59:59");
  20. client.putParams("order_type", "1");
  21. string result = client.wdtOpenapi();
  22. Console.WriteLine(result);
  23. Console.ReadKey();
  24. }
  25. }
  26. }