config.php 877 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace refill\hangtongyj;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://47.108.161.207/flow-receiver/api/v2/recharge';
  7. const QUERY_URL = 'http://47.108.161.207/flow-receiver/api/v2/query/single';
  8. const BALANCE_URL = 'http://47.108.161.207/flow-receiver/api/v2/balance/query';
  9. const NOTIFY_URL = BASE_SITE_URL . '/mobile/callback/refill_hangtongyj.php';
  10. const ACCOUNT = 'yeziyj';
  11. const KEY = 'b79ba40ae2924c779851178471958850';
  12. const operator = [
  13. mtopcard\ChinaMobileCard => 'CMCC',
  14. mtopcard\ChinaUnicomCard => 'CUCC',
  15. mtopcard\ChinaTelecomCard => 'CTCC'
  16. ];
  17. const ProductIDS = [
  18. mtopcard\ChinaMobileCard => [
  19. 30 => 'CMCCALLr30sP00008',
  20. 50 => 'CMCCALLr50sP00009',
  21. 100 => 'CMCCALLr100sP00010',
  22. 200 => 'CMCCALLr200sP00011'
  23. ]
  24. ];
  25. }