config.php 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace refill\xianghongrui;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://123.60.50.146:9086/onlinepay.do';
  7. const QUERY_URL= 'http://123.60.50.146:9086/searchpay.do';
  8. const BALANCE_UTL = 'http://123.60.50.146:9086/searchbalance.do';
  9. const USER_ID= '10002703';
  10. const KEY = 'SZK4aartZDaTMiKHn37yaCeJRe8Ak7bT';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_xianghongrui.php";
  12. const operator = [
  13. mtopcard\ChinaMobileCard => 'yd',
  14. mtopcard\ChinaUnicomCard => 'lt',
  15. mtopcard\ChinaTelecomCard => 'dx'
  16. ];
  17. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  18. const ProductIDS = [
  19. mtopcard\ChinaMobileCard => [
  20. 30 => '30000005171', 50 => '30000005172', 100 => '30000005173', 200 => '30000005174'
  21. ],
  22. mtopcard\ChinaUnicomCard => [
  23. 30 => '30000005175', 50 => '30000005176', 100 => '30000005177', 200 => '30000005178'
  24. ],
  25. mtopcard\ChinaTelecomCard => [
  26. 30 => '30000005179', 50 => '30000005180', 100 => '30000005181', 200 => '30000005182'
  27. ]
  28. ];
  29. }