config.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace refill\wenye;
  3. use mtopcard;
  4. class config
  5. {
  6. //953
  7. const ORDER_URL = 'http://47.98.108.181/flow-receiver/fee/recharge';
  8. const QUERY_URL = 'http://47.98.108.181/flow-receiver/fee/query/single';
  9. const BALANCE_URL = 'http://47.98.108.181/flow-receiver/fee/balance/query';
  10. const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_wenye.php';
  11. const ACCOUNT = 'yzwy1888';
  12. const KEY = '7613c83df0fe41a1ade6603e58c7f714';
  13. const ProductIDS = [
  14. mtopcard\ChinaMobileCard => [
  15. 30 => 'CMCCALLr30r', 50 => 'CMCCALLr50r', 100 => 'CMCCALLr100r', 200 => 'CMCCALLr200r', 300 => 'CMCCALLr300r', 500 => 'CMCCALLr500r'
  16. ],
  17. mtopcard\ChinaUnicomCard => [
  18. 30 => 'CUCCALLr30r', 50 => 'CUCCALLr50r', 100 => 'CUCCALLr100r', 200 => 'CUCCALLr200r', 300 => 'CUCCALLr300r', 500 => 'CUCCALLr500r'
  19. ],
  20. mtopcard\ChinaTelecomCard => [
  21. 30 => 'CTCCALLr30r', 50 => 'CTCCALLr50r', 100 => 'CTCCALLr100r', 200 => 'CTCCALLr200r', 300 => 'CTCCALLr300r', 500 => 'CTCCALLr500r'
  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. }