config.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace refill\qianqianman;
  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 NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/qianqianman.php';
  9. const ACCOUNT = 'yz1788';
  10. const KEY = '5ceeda76bdd046179386a7339887a0d2';
  11. const ProductIDS = [
  12. mtopcard\ChinaMobileCard => [
  13. 50 => 'CMCCALLn50r', 100 => 'CMCCALLn100r', 200 => 'CMCCALLn200r'
  14. ],
  15. mtopcard\ChinaUnicomCard => [
  16. 50 => 'CUCCALLn50r', 100 => 'CUCCALLn100r', 200 => 'CUCCALLn200r'
  17. ],
  18. mtopcard\ChinaTelecomCard => [
  19. 50 => 'CTCCALLn50r', 100 => 'CTCCALLn100r', 200 => 'CTCCALLn200r'
  20. ]
  21. ];
  22. const AddErrCodes = [
  23. '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'
  24. ];
  25. const NotifyErrCodes = [
  26. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','025','027','028','098','099'
  27. ];
  28. const QueryErrCodes = [
  29. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','024','025','026','027','028','098','099'
  30. ];
  31. }