PurchaseProviderCreate.cs 997 B

1234567891011121314151617181920212223242526272829303132
  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 PurchaseProviderCreate
  8. {
  9. class PurchaseProviderCreate
  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_create.php";
  18. client.putParams("provider_no", "llxtest");
  19. client.putParams("provider_name", "ceshi测试");
  20. client.putParams("min_purchase_num", "1");
  21. client.putParams("purchase_cycle_days", "1");
  22. client.putParams("arrive_cycle_days", "1");
  23. client.putParams("last_purchase_time", "2018-08-01 00:00:00");
  24. string result = client.wdtOpenapi();
  25. Console.WriteLine(result);
  26. Console.ReadKey();
  27. }
  28. }
  29. }