config.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace refill\yunlingfs;
  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 = '10002543';
  10. const KEY = 'c3SRnHJ7Bcj544MsdxY2mesADs33QGtz';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/refill_yunlingfs.php";
  12. const operator = [
  13. mtopcard\ChinaMobileCard => 'yd',
  14. mtopcard\ChinaUnicomCard => 'lt',
  15. mtopcard\ChinaTelecomCard => 'dx'
  16. ];
  17. const product_id = [
  18. mtopcard\ChinaUnicomCard => [
  19. 30 => '30000000731',
  20. 50 => '30000000732',
  21. 100 => '30000000733',
  22. 200 => '30000000992'
  23. ],
  24. mtopcard\ChinaTelecomCard => [
  25. 30 => '30000000736',
  26. 50 => '30000000737',
  27. 100 => '30000000738',
  28. 200 => '30000000739',
  29. 300 => '30000000740',
  30. 500 => '30000000741'
  31. ],
  32. ];
  33. }