config.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace refill\lingzhman48;
  3. use mtopcard;
  4. class config
  5. {
  6. //895
  7. const ORDER_URL = 'http://47.99.65.204/flow-receiver/fee/recharge';
  8. const QUERY_URL = 'http://47.99.65.204/flow-receiver/fee/query/single';
  9. const BALANCE_URL = 'http://47.99.65.204/flow-receiver/fee/balance/query';
  10. const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_lingzhman48.php'; //需联系上游配置
  11. const ACCOUNT = 'yz1988';
  12. const KEY = '30ba2a10cdb9464fac671c3e4c0cfb97';
  13. const ProductIDS = [
  14. mtopcard\ChinaMobileCard => [
  15. 50 => 'CMCCALLn50r', 100 => 'CMCCALLn100r', 200 => 'CMCCALLn200r'
  16. ],
  17. mtopcard\ChinaUnicomCard => [
  18. 50 => 'CUCCALLn50r', 100 => 'CUCCALLn100r', 200 => 'CUCCALLn200r'
  19. ],
  20. mtopcard\ChinaTelecomCard => [
  21. 50 => 'CTCCALLn50r', 100 => 'CTCCALLn100r', 200 => 'CTCCALLn200r'
  22. ]
  23. ];
  24. const NotifyErrCodes = [
  25. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','025','027','028','098','099'
  26. ];
  27. const QueryErrCodes = [
  28. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','024','025','026','027','028','098','099'
  29. ];
  30. }