config.php 1019 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace refill\cangxin;
  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 = '10046';
  10. const Key = 'l9URasvgP10FINEndLqbOKEMrJy4dtnH';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_cangxin.php";
  12. const PRODUCT = [
  13. mtopcard\ChinaMobileCard => [
  14. 30 => 1320030,
  15. 50 => 1320050,
  16. 100 => 1320100,
  17. 200 => 1320200,
  18. ],
  19. mtopcard\ChinaUnicomCard => [
  20. 30 => 3320030,
  21. 50 => 3320050,
  22. 100 => 3320100,
  23. 200 => 3320200,
  24. ],
  25. mtopcard\ChinaTelecomCard => [
  26. 30 => 2320030,
  27. 50 => 2320050,
  28. 100 => 2320100,
  29. 200 => 2320200,
  30. ],
  31. ];
  32. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  33. }