config.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace refill\zhiren_doubi;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://120.26.36.223:9527/external/order/submit';
  7. const QUERY_URL = 'http://120.26.36.223:9527/external/order/query';
  8. const BALANCE_URL = 'http://120.26.36.223:9527/external/order/balance';
  9. const merchantId = 'R9jRzoimVQ';
  10. const Key = 'OrwR7oUlQ6BkMhg3cB3IqrzOhrgdHwTd';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_zhiren_doubi.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. }