config.php 914 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace refill\menggu_hf;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://120.26.80.21:8911/api/order/submit';
  7. const QUERY_URL = 'http://120.26.80.21:8911/api/order/query';
  8. const BALANCE_URL = 'http://120.26.80.21:8911/api/account/balance';
  9. const APP_ID = '1hqLCRUja7';
  10. const APP_SECRET = 'UbZBPJdeXcWaJtgy';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_menggu_hf.php";
  12. const PRODUCT = [
  13. mtopcard\ChinaUnicomCard => [
  14. 50 => 100091,
  15. 100 => 100092,
  16. 200 => 100093,
  17. 300 => 100094,
  18. 500 => 100095
  19. ],
  20. mtopcard\ChinaTelecomCard => [
  21. 50 => 100108,
  22. 100 => 100109,
  23. 200 => 100110,
  24. 300 => 100111,
  25. 500 => 100112
  26. ],
  27. ];
  28. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  29. }