config.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace refill\zhenghe_sec;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://api.bjzhengheshun.com.cn:1008/hqorder/api/submit';
  7. const QUERY_URL = 'http://api.bjzhengheshun.com.cn:1008/hqorder/api/query';
  8. const BALANCE_URL = 'http://api.bjzhengheshun.com.cn:1008/hqorder/api/balance';
  9. const MCHID = '200003';
  10. const KEY = 'b2b737a0262548698229bc67674ecb48';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_zhenghe_sec.php";
  12. const ExtHeaders = ['Content-Type: application/json'];
  13. const product_id = [
  14. mtopcard\ChinaMobileCard => [
  15. 30 => 1000030,
  16. 50 => 1000050,
  17. 100 => 1000100,
  18. 200 => 1000200,
  19. 300 => 1000300,
  20. 500 => 1000500
  21. ],
  22. mtopcard\ChinaUnicomCard => [
  23. 30 => 2000030,
  24. 50 => 2000050,
  25. 100 => 2000100,
  26. 200 => 2000200,
  27. 300 => 2000300,
  28. 500 => 2000500
  29. ],
  30. mtopcard\ChinaTelecomCard => [
  31. 30 => 3000030,
  32. 50 => 3000050,
  33. 100 => 3000100,
  34. 200 => 3000200,
  35. 300 => 3000300,
  36. 500 => 3000500
  37. ],
  38. ];
  39. }