config.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace refill\huoshenguo_high;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://120.26.89.236:8911/api/hf/order/submit';
  7. const QUERY_URL = 'http://120.26.89.236:8911/api/order/query';
  8. const BALANCE_URL = 'http://120.26.89.236:8911/api/account/balance';
  9. const APP_ID = 'l1f3nJn1zp';
  10. const APP_SECRET = 'PfeOsZRoMsAcmweP';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_huoshenguo_high.php";
  12. const PRODUCT = [
  13. mtopcard\ChinaMobileCard => [
  14. 30 => 100001,
  15. 50 => 100002,
  16. 100 => 100003,
  17. 200 => 100004,
  18. 300 => 100038,
  19. 500 => 100039,
  20. ],
  21. mtopcard\ChinaUnicomCard => [
  22. 30 => 100034,
  23. 50 => 100035,
  24. 100 => 100036,
  25. 200 => 100037,
  26. ],
  27. mtopcard\ChinaTelecomCard => [
  28. 30 => 100090,
  29. 50 => 100091,
  30. 100 => 100092,
  31. 200 => 100093,
  32. ],
  33. ];
  34. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  35. const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
  36. }