config.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 USER_ID= '10002623';
  9. const KEY = 'M4GZNKZCW6kasAMbpGxDn3AcPJiYDFS5';
  10. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yunlingds.php";
  11. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  12. const operator = [
  13. mtopcard\ChinaMobileCard => 'yd',
  14. mtopcard\ChinaUnicomCard => 'lt',
  15. mtopcard\ChinaTelecomCard => 'dx'
  16. ];
  17. const product_id = [
  18. mtopcard\ChinaMobileCard => [
  19. 30 => '30000000908',
  20. 50 => '30000000909',
  21. 100 => '30000000910',
  22. 200 => '30000000911'
  23. ],
  24. mtopcard\ChinaUnicomCard => [
  25. 30 => '30000000731',
  26. 50 => '30000000732',
  27. 100 => '30000000733',
  28. 200 => '30000000992'
  29. ],
  30. mtopcard\ChinaTelecomCard => [
  31. 30 => '30000000736',
  32. 50 => '30000000737',
  33. 100 => '30000000738',
  34. 200 => '30000000739'
  35. ],
  36. ];
  37. }