config.php 998 B

123456789101112131415161718192021222324252627282930313233343536
  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. 50 => 100014,
  22. 100 => 100015,
  23. 200 => 100016
  24. ],
  25. mtopcard\ChinaTelecomCard => [
  26. 50 => 100006,
  27. 100 => 100007,
  28. 200 => 100008
  29. ],
  30. ];
  31. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  32. }