config.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace refill\shimier;
  3. use mtopcard;
  4. class config
  5. {
  6. //95
  7. //接口地址:https://www.showdoc.cc/900133176881927
  8. const ORDER_URL = 'http://120.79.67.17:8911/api/order/submit';
  9. const QUERY_URL = 'http://120.79.67.17:8911/api/order/query';
  10. const BALANCE_URL = 'http://120.79.67.17:8911/api/account/balance';
  11. const APP_ID = 'b3k6DRwSOw';
  12. const APP_SECRET = 'kwKiSNinLPGmVcNd';
  13. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_shimier.php";
  14. const PRODUCT = [
  15. mtopcard\ChinaMobileCard => [
  16. 50 => 100002,
  17. 100 => 100003,
  18. 200 => 100004
  19. ],
  20. mtopcard\ChinaUnicomCard => [
  21. 30 => 100013,
  22. 50 => 100014,
  23. 100 => 100015,
  24. 200 => 100016
  25. ],
  26. mtopcard\ChinaTelecomCard => [
  27. 50 => 100006,
  28. 100 => 100007,
  29. 200 => 100008
  30. ],
  31. ];
  32. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  33. }