PurchaseProviderQuery.cs 900 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 PurchaseProviderQuery
  8. {
  9. class PurchaseProviderQuery
  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/purchase_provider_query.php";
  18. client.putParams("page_no", "0");
  19. client.putParams("page_size", "10");
  20. client.putParams("provider_no", "GYS01217");
  21. client.putParams("column", "provider_name,address,website,remark,is_disabled,deleted,modified,created");
  22. string result = client.wdtOpenapi();
  23. Console.WriteLine(result);
  24. Console.ReadKey();
  25. }
  26. }
  27. }