config.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 = '10025';
  10. const Key = 'GeuVXsmZVhPwkqNLaL9THdAk2j5x3mJh';
  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. 300 => 3320300,
  25. 500 => 3320500,
  26. ],
  27. mtopcard\ChinaTelecomCard => [
  28. 30 => 2320030,
  29. 50 => 2320050,
  30. 100 => 2320100,
  31. 200 => 2320200,
  32. ],
  33. ];
  34. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  35. }