config.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace refill\yunlingds;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://121.89.243.74:9086/onlinepay.do';
  7. const QUERY_URL= 'http://121.89.243.74:9086/searchpay.do';
  8. const BALANCE_URL= 'http://121.89.243.74:9086/searchbalance.do';
  9. const USER_ID= '10002623';
  10. const KEY = 'M4GZNKZCW6kasAMbpGxDn3AcPJiYDFS5';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yunlingds.php";
  12. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  13. const operator = [
  14. mtopcard\ChinaMobileCard => 'yd',
  15. mtopcard\ChinaUnicomCard => 'lt',
  16. mtopcard\ChinaTelecomCard => 'dx'
  17. ];
  18. const product_id = [
  19. mtopcard\ChinaMobileCard => [
  20. 30 => '30000000908',
  21. 50 => '30000000909',
  22. 100 => '30000000910',
  23. 200 => '30000000911'
  24. ],
  25. mtopcard\ChinaUnicomCard => [
  26. 30 => '30000000731',
  27. 50 => '30000000732',
  28. 100 => '30000000733',
  29. 200 => '30000000992'
  30. ],
  31. mtopcard\ChinaTelecomCard => [
  32. 30 => '30000000736',
  33. 50 => '30000000737',
  34. 100 => '30000000738',
  35. 200 => '30000000739'
  36. ],
  37. ];
  38. }