config.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. namespace refill\cangxin_yi;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://47.98.184.74:9527/order/submit';
  7. const QUERY_URL = 'http://47.98.184.74:9527/order/query';
  8. const BALANCE_URL = 'http://47.98.184.74:9527/order/balance';
  9. const clientId = '10043';
  10. const Key = 'QEi05vA28aPVA5OIKE2srKaCWWtHMPQL';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_cangxin_yi.php";
  12. const PRODUCT = [
  13. mtopcard\ChinaMobileCard => [
  14. 30 => 1320030,
  15. 50 => 1320050,
  16. 100 => 1320100,
  17. 200 => 1320200,
  18. 300 => 1320300,
  19. 500 => 1320500,
  20. ],
  21. mtopcard\ChinaUnicomCard => [
  22. 30 => 3320030,
  23. 50 => 3320050,
  24. 100 => 3320100,
  25. 200 => 3320200,
  26. 300 => 3320300,
  27. 500 => 3320500,
  28. ],
  29. mtopcard\ChinaTelecomCard => [
  30. 30 => 2320030,
  31. 50 => 2320050,
  32. 100 => 2320100,
  33. 200 => 2320200,
  34. 300 => 2320300,
  35. 500 => 2320500,
  36. ],
  37. ];
  38. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  39. }