config.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace refill\yunling;
  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= '10002504';
  10. const KEY = 'HdxxWScBF6aYykbB33r8S5CQcS5myYZZ';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/refill_yunling.php";
  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. }