config.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. namespace refill\xinhengyang;
  3. use mtopcard;
  4. class config
  5. {
  6. //回调地址需配置
  7. const ORDER_URL = 'http://101.37.26.78/flow/order';
  8. const QUERY_URL= 'http://101.37.26.78/flow/query';
  9. const BALANCE_URL = 'http://101.37.26.78/flow/balance';
  10. const USER_NAME= 'KH100002';
  11. const KEY = '54fd939a219c408d964201f4464b5404';
  12. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_xinhengyang.php";
  13. const ProductIDS = [
  14. mtopcard\ChinaMobileCard =>
  15. [
  16. 10 => 'NA800010',
  17. 20 => 'NA800020',
  18. 30 => 'NA800030',
  19. 50 => 'NA800050',
  20. 100 => 'NA800100',
  21. 200 => 'NA800200',
  22. 300 => 'NA800300',
  23. 500 => 'NA800500'
  24. ],
  25. mtopcard\ChinaUnicomCard =>
  26. [
  27. 10 => 'NA900010',
  28. 20 => 'NA900020',
  29. 30 => 'NA900030',
  30. 50 => 'NA900050',
  31. 100 => 'NA900100',
  32. 200 => 'NA900200',
  33. 300 => 'NA900300',
  34. 500 => 'NA900500'
  35. ],
  36. mtopcard\ChinaTelecomCard =>
  37. [
  38. 10 => 'NA700010',
  39. 20 => 'NA700020',
  40. 30 => 'NA700030',
  41. 50 => 'NA700050',
  42. 100 => 'NA700100',
  43. 200 => 'NA700200',
  44. 300 => 'NA700300',
  45. 500 => 'NA700500'
  46. ]
  47. ];
  48. }