config.php 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. namespace refill\qianqian;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://112.124.55.235/flow-receiver/fee/recharge';
  7. const QUERY_URL = 'http://112.124.55.235/flow-receiver/fee/query/single';
  8. const BALANCE_URL = 'http://112.124.55.235/flow-receiver/fee/balance/query';
  9. const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/qianqian.php';
  10. const ACCOUNT = 'lz16888';
  11. const KEY = '5ea089c7f54a4ee692cfe8a84fcaee4b';
  12. const ProductIDS = [
  13. mtopcard\ChinaMobileCard => [
  14. 10 => 'CMCCALLr10r', 20 => 'CMCCALLr20r', 30 => 'CMCCALLr30r',
  15. 50 => 'CMCCALLr50r', 100 => 'CMCCALLr100r', 200 => 'CMCCALLr200r'
  16. ],
  17. mtopcard\ChinaUnicomCard => [
  18. 10 => 'CUCCALLr10r', 20 => 'CUCCALLr20r', 30 => 'CUCCALLr30r',
  19. 50 => 'CUCCALLr50r', 100 => 'CUCCALLr100r', 200 => 'CUCCALLr200r'
  20. ],
  21. mtopcard\ChinaTelecomCard => [
  22. 10 => 'CTCCALLr10r', 20 => 'CTCCALLr20r', 30 => 'CTCCALLr30r',
  23. 50 => 'CTCCALLr50r', 100 => 'CTCCALLr100r', 200 => 'CTCCALLr200r'
  24. ]
  25. ];
  26. const AddErrCodes = [
  27. '003','004','005','006','007','008','009','010','011','012','013','014','015','016','017','018','019','020','021','022','023','024','025','027','028','098','099'
  28. ];
  29. const NotifyErrCodes = [
  30. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','025','027','028','098','099'
  31. ];
  32. const QueryErrCodes = [
  33. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','024','025','026','027','028','098','099'
  34. ];
  35. }