config.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace refill\lingzhman;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://47.99.65.204/flow-receiver/fee/recharge';
  7. const QUERY_URL = 'http://47.99.65.204/flow-receiver/fee/query/single';
  8. const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_lingzhman.php';
  9. const ACCOUNT = 'yzmc';
  10. const KEY = 'b225132ca8fc47d98c245fc231623dbb';
  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 NotifyErrCodes = [
  23. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','025','027','028','098','099'
  24. ];
  25. const QueryErrCodes = [
  26. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','024','025','026','027','028','098','099'
  27. ];
  28. }