config.php 696 B

123456789101112131415161718192021
  1. <?php
  2. namespace refill\fengyeman;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://103.66.58.75:9998/api/pay/telpay';
  7. const QUERY_URL = 'http://103.66.58.75:9998/api/pay/telpay/query';
  8. const BALANCE_URL = 'http://103.66.58.75:9998/api/pay/telpay/balance';
  9. const MCHID = 'HF67a65_10008';
  10. const KEY = '8dd6f67a65b806fbfb74dde74c5f1550';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_fengyeman.php";
  12. const ExtHeaders = ['Content-Type: application/x-www-form-urlencoded'];
  13. const TIMEOUT = 18000;
  14. const operator = [
  15. mtopcard\ChinaMobileCard => 0,
  16. mtopcard\ChinaUnicomCard => 1,
  17. mtopcard\ChinaTelecomCard => 2
  18. ];
  19. }