config.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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 BALANCE_URL = 'http://47.99.65.204/flow-receiver/fee/balance/query';
  9. const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_lingzhman.php';
  10. const ACCOUNT = 'yzmc';
  11. const KEY = 'b225132ca8fc47d98c245fc231623dbb';
  12. const ProductIDS = [
  13. mtopcard\ChinaMobileCard => [
  14. 50 => 'CMCCALLn50r', 100 => 'CMCCALLn100r', 200 => 'CMCCALLn200r'
  15. ],
  16. mtopcard\ChinaUnicomCard => [
  17. 50 => 'CUCCALLn50r', 100 => 'CUCCALLn100r', 200 => 'CUCCALLn200r'
  18. ],
  19. mtopcard\ChinaTelecomCard => [
  20. 50 => 'CTCCALLn50r', 100 => 'CTCCALLn100r', 200 => 'CTCCALLn200r'
  21. ]
  22. ];
  23. const NotifyErrCodes = [
  24. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','025','027','028','098','099'
  25. ];
  26. const QueryErrCodes = [
  27. '003','004','005','006','007','008','015','016','017','018','019','020','021','022','023','024','025','026','027','028','098','099'
  28. ];
  29. }