config.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace refill\lingzhman;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://47.108.202.150/flow-receiver/fee/recharge';
  7. const QUERY_URL = 'http://47.108.202.150/flow-receiver/fee/query/single';
  8. const BALANCE_URL = 'http://47.108.202.150/flow-receiver/fee/balance/query';
  9. const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_lingzhman.php';
  10. const ACCOUNT = 'yelinhc';
  11. const KEY = '0fb0ecdbc0694dd49f1e8d62420e2da2';
  12. const ProductIDS = [
  13. mtopcard\ChinaMobileCard => [
  14. 30 => 'CMCCALLr30r', 50 => 'CMCCALLr50r', 100 => 'CMCCALLr100r', 200 => 'CMCCALLr200r'
  15. ],
  16. mtopcard\ChinaUnicomCard => [
  17. 30 => 'CUCCALLr30r', 50 => 'CUCCALLr50r', 100 => 'CUCCALLr100r', 200 => 'CUCCALLr200r'
  18. ],
  19. mtopcard\ChinaTelecomCard => [
  20. 30 => 'CTCCALLr30r', 50 => 'CTCCALLr50r', 100 => 'CTCCALLr100r', 200 => 'CTCCALLr200r'
  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. }