config.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. namespace refill\yunhui;
  3. use mtopcard;
  4. class config
  5. {
  6. //https://www.showdoc.com.cn/AQL666666/
  7. const ORDER_URL = 'http://124.70.212.173:9086/onlinepay.do';
  8. const QUERY_URL= 'http://124.70.212.173:9086/searchpay.do';
  9. const BALANCE_URL = 'http://124.70.212.173:9086/searchbalance.do';
  10. const USER_ID= '10002863';
  11. const KEY = 'rmcTirReZGX6WWPXwr4BGQtJwrMhsHmx';
  12. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yunhui.php";
  13. const operator = [
  14. mtopcard\ChinaMobileCard => 'yd',
  15. mtopcard\ChinaUnicomCard => 'lt',
  16. mtopcard\ChinaTelecomCard => 'dx'
  17. ];
  18. const ERR_NOS = [
  19. '5001','5002','5003','5004','5005','5008','5009','5010','5011','5012','7001'
  20. ];
  21. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;'];
  22. const ProductIdS = [
  23. mtopcard\ChinaMobileCard =>
  24. [
  25. 100 => '101689',
  26. 200 => '101690',
  27. ],
  28. mtopcard\ChinaUnicomCard =>
  29. [
  30. ],
  31. mtopcard\ChinaTelecomCard =>
  32. [
  33. ],
  34. ];
  35. }