config.php 1006 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace refill\huoshenguo_fs;
  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 = '0AQYfAzSyy';
  10. const APP_SECRET = 'WkCUpvfrqhvrwinQ';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_huoshenguo_fs.php";
  12. const PRODUCT = [
  13. mtopcard\ChinaMobileCard => [
  14. 30 => 100135,
  15. 50 => 100136,
  16. 100 => 100137,
  17. 200 => 100138,
  18. ],
  19. mtopcard\ChinaUnicomCard => [
  20. ],
  21. mtopcard\ChinaTelecomCard => [
  22. 30 => 100147,
  23. 50 => 100148,
  24. 100 => 100149,
  25. 200 => 100150,
  26. ],
  27. ];
  28. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  29. const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
  30. }