config.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace refill\jinfeng;
  3. use mtopcard;
  4. class config
  5. {
  6. //回调地址需配置
  7. const ORDER_URL = 'http://47.108.199.201/flow-receiver/fee/recharge';
  8. const QUERY_URL = 'http://47.108.199.201/flow-receiver/fee/query/single';
  9. const BALANCE_URL = 'http://47.108.199.201/flow-receiver/fee/balance/query';
  10. const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_jinfeng.php';
  11. const ACCOUNT = 'bjgy';
  12. const KEY = '27c899a2946d4767b81f10b7dc3875fe';
  13. const ProductIDS = [
  14. mtopcard\ChinaMobileCard => [
  15. 30 => 'CMCCALLr30r', 50 => 'CMCCALLr50r', 100 => 'CMCCALLr100r', 200 => 'CMCCALLr200r'
  16. ],
  17. mtopcard\ChinaUnicomCard => [
  18. 30 => 'CUCCALLr30r', 50 => 'CUCCALLr50r', 100 => 'CUCCALLr100r', 200 => 'CUCCALLr200r',
  19. 300 => 'CUCCALLr300r', 500 => 'CUCCALLr500r'
  20. ],
  21. mtopcard\ChinaTelecomCard => [
  22. 30 => 'CTCCALLr30r', 50 => 'CTCCALLr50r', 100 => 'CTCCALLr100r', 200 => 'CTCCALLr200r',
  23. 300 => 'CTCCALLr300r', 500 => 'CTCCALLr500r'
  24. ]
  25. ];
  26. const NotifyErrCodes = [
  27. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','025','027','028','098','099'
  28. ];
  29. const QueryErrCodes = [
  30. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','024','025','026','027','028','098','099'
  31. ];
  32. }