config.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 = 'beijingyz';
  11. const KEY = 'DA01B4249BA58CB8738A8BDA58A253E7';
  12. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_pengxinda.php";
  13. const Product = [
  14. mtopcard\ChinaMobileCard => [
  15. 50 => 100250,
  16. 100 => 1002100,
  17. 200 => 1002200,
  18. 300 => 1002300,
  19. 500 => 1002500
  20. ],
  21. mtopcard\ChinaUnicomCard => [
  22. 30 => 1200230,
  23. 50 => 1200250,
  24. 100 => 12002100,
  25. 200 => 12002200,
  26. 300 => 12002300
  27. ],
  28. mtopcard\ChinaTelecomCard => [
  29. 50 => 1100250,
  30. 100 => 11002100,
  31. 200 => 11002200,
  32. 300 => 11002300,
  33. 500 => 11002500
  34. ],
  35. ];
  36. }