config.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace refill\jiuyi;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://47.93.7.11:10050/order/insert';
  7. const QUERY_URL = 'http://47.93.7.11:10050/order/query';
  8. const BALANCE_URL = 'http://47.93.7.11:10050/member/account';
  9. const ACCESS_KEY = 'ACK211394675';
  10. const ACCESS_SECRET = '4BDF5B9FE377DF4C92F192FD1CAF2C5F';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_jiuyi.php";
  12. const ExtHeaders = ['Content-Type: application/json; charset=utf-8'];
  13. const product_code = [
  14. mtopcard\ChinaMobileCard => [
  15. 100 => 'SKU100188',
  16. 200 => 'SKU100189',
  17. 300 => 'SKU100190',
  18. 500 => 'SKU100191'
  19. ],
  20. mtopcard\ChinaUnicomCard => [
  21. 50 => 'SKU100177',
  22. 100 => 'SKU100178',
  23. 200 => 'SKU100179',
  24. 300 => 'SKU100180',
  25. ],
  26. mtopcard\ChinaTelecomCard => [
  27. 100 => 'SKU100183',
  28. 200 => 'SKU100184',
  29. 300 => 'SKU100185',
  30. 500 => 'SKU100186'
  31. ],
  32. ];
  33. }