config.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace refill\dashang_normal;
  3. use mtopcard;
  4. class config
  5. {
  6. //回调地址需配置
  7. const ORDER_URL = 'http://47.114.209.57/unicomAync/buy.do';
  8. const QUERY_URL= 'http://47.114.209.57/unicomAync/queryBizOrder.do';
  9. const BALANCE_URL = 'http://47.114.209.57/unicomAync/queryBalance.do';
  10. const USER_ID= '80800357';
  11. const KEY = '1d3a51d49c3b0ba2685389b52f26bffb';
  12. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_dashang_normal.php";
  13. const Products = [
  14. mtopcard\ChinaMobileCard =>
  15. [
  16. 10 => 60030010,
  17. 20 => 60030020,
  18. 30 => 60030030,
  19. 50 => 60030050,
  20. 100 => 60030100,
  21. 200 => 60030200
  22. ],
  23. mtopcard\ChinaUnicomCard =>
  24. [
  25. 10 => 60050010,
  26. 20 => 60050020,
  27. 30 => 60050030,
  28. 50 => 60050050,
  29. 100 => 60050100,
  30. 200 => 60050200,
  31. 300 => 60050300,
  32. 500 => 60050500
  33. ],
  34. mtopcard\ChinaTelecomCard =>
  35. [
  36. 10 => 60040010,
  37. 20 => 60040020,
  38. 30 => 60040030,
  39. 50 => 60040050,
  40. 100 => 60040100,
  41. 200 => 60040200,
  42. 300 => 60040300,
  43. 500 => 60040500
  44. ]
  45. ];
  46. }