config.php 562 B

123456789101112131415161718192021
  1. <?php
  2. namespace refill\afandfs;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://119.8.102.95/api/receiveOrder';
  7. const QUERY_URL = 'http://119.8.102.95/api/queryOrder';
  8. const PARTNER_ID = '52';
  9. const KEY = '130c44ac97bf094b6c7e448be1fbee8f';
  10. const NOTIFY_URL = BASE_SITE_URL."/mobile/refill_afandfs.php";
  11. const operator = [
  12. mtopcard\ChinaMobileCard => 2,
  13. mtopcard\ChinaUnicomCard => 0,
  14. mtopcard\ChinaTelecomCard => 1
  15. ];
  16. const ExtHeaders = ['Content-Type: application/x-www-form-urlencoded'];
  17. }