config.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace refill\pengxinda;
  3. use mtopcard;
  4. class config
  5. {
  6. //回调地址需 上游配置
  7. const ORDER_URL = 'http://39.105.7.52:8081/api/recharge.jsp';
  8. const QUERY_URL = 'http://39.105.7.52:8081/api/recharge_result.jsp';
  9. const BALANCE_URL = 'http://39.105.7.52:8081/api/balance.jsp';
  10. const API_USER_ID = 'beijingqdw';
  11. const KEY = '52069208FD1101B4BC7C86C47A8F40AD';
  12. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_pengxinda.php";
  13. const Product = [
  14. mtopcard\ChinaMobileCard => [
  15. 10 => 100210,
  16. 20 => 100220,
  17. 50 => 100250,
  18. 100 => 1002100,
  19. 200 => 1002200,
  20. 300 => 1002300,
  21. 500 => 1002500
  22. ],
  23. mtopcard\ChinaUnicomCard => [
  24. 10 => 1200210,
  25. 20 => 1200220,
  26. 30 => 1200230,
  27. 50 => 1200250,
  28. 100 => 12002100,
  29. 200 => 12002200,
  30. 300 => 12002300
  31. ],
  32. mtopcard\ChinaTelecomCard => [
  33. 10 => 1100210,
  34. 20 => 1100220,
  35. 50 => 1100250,
  36. 100 => 11002100,
  37. 200 => 11002200,
  38. 300 => 11002300,
  39. 500 => 11002500
  40. ],
  41. ];
  42. }