config.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. namespace refill\dashang;
  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= '80800346';
  11. const KEY = 'bb9c64bbd8937e03ca73f9d7b29a17af';
  12. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_dashang.php";
  13. const Products = [
  14. mtopcard\ChinaMobileCard =>
  15. [
  16. 10 => 90440010,
  17. 20 => 90440020,
  18. 30 => 90440030,
  19. 50 => 90440050,
  20. 100 => 90440100,
  21. 200 => 90440200,
  22. 300 => 90440300,
  23. 500 => 90440500
  24. ],
  25. mtopcard\ChinaUnicomCard =>
  26. [
  27. 10 => 90460010,
  28. 20 => 90460020,
  29. 30 => 90460030,
  30. 50 => 90460050,
  31. 100 => 90460100,
  32. 200 => 90460200,
  33. 300 => 90460300,
  34. 500 => 90460500
  35. ],
  36. mtopcard\ChinaTelecomCard =>
  37. [
  38. 10 => 90290010,
  39. 20 => 90290020,
  40. 30 => 90290030,
  41. 50 => 90290050,
  42. 100 => 90290100,
  43. 200 => 90290200,
  44. 300 => 90290300,
  45. 500 => 90290500
  46. ]
  47. ];
  48. }