config.php 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. namespace refill\chizeng;
  3. use mtopcard;
  4. class config
  5. {
  6. //https://www.showdoc.com.cn/AQL666666/
  7. const ORDER_URL = 'http://123.60.208.38:9086/onlinepay.do';
  8. const QUERY_URL= 'http://123.60.208.38:9086/searchpay.do';
  9. const BALANCE_URL = 'http://123.60.208.38:9086/searchbalance.do';
  10. const USER_ID= '10003143';
  11. const KEY = 'bZMyKtsmrkTx4rfcw46YmW5drnk7RiAh';
  12. // const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_chizeng.php";
  13. const NOTIFY_URL = "https://ylapi.xyzshops.cn/mobile/signature.php";
  14. const operator = [
  15. mtopcard\ChinaMobileCard => 'yd',
  16. mtopcard\ChinaUnicomCard => 'lt',
  17. mtopcard\ChinaTelecomCard => 'dx'
  18. ];
  19. const ERR_NOS = [
  20. '5001','5002','5003','5004','5005','5008','5009','5010','5011','5012'
  21. ];
  22. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;'];
  23. const ProductIdS = [
  24. mtopcard\ChinaMobileCard =>
  25. [
  26. 30 => '101687',
  27. 50 => '101688',
  28. 100 => '101689',
  29. 200 => '101690',
  30. 300 => '101691',
  31. 500 => '101692',
  32. ],
  33. mtopcard\ChinaUnicomCard =>
  34. [
  35. 30 => '101705',
  36. 50 => '101706',
  37. 100 => '101707',
  38. 200 => '101708',
  39. 300 => '101709',
  40. 500 => '101710',
  41. ],
  42. mtopcard\ChinaTelecomCard =>
  43. [
  44. 30 => '101723',
  45. 50 => '101724',
  46. 100 => '101725',
  47. 200 => '101726',
  48. 300 => '101727',
  49. 500 => '101728',
  50. ]
  51. ];
  52. }