config.php 560 B

12345678910111213141516171819
  1. <?php
  2. namespace refill\afandfs;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://150.107.3.58/api/receiveOrder';
  7. const QUERY_URL = 'http://150.107.3.58/api/queryOrder';
  8. const PARTNER_ID = '52';
  9. const KEY = '8dd29f631f84b11f4ed4c2fbfcfc4057';
  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. }