config.php 698 B

12345678910111213141516171819202122
  1. <?php
  2. namespace refill\cangbuyd;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'https://api.irecycle.top/queryBuy';
  7. const QUERY_URL= 'https://api.irecycle.top/queryBizOrder';
  8. const BALANCE_URL= 'https://api.irecycle.top//queryBalance';
  9. const MCH_ID= '220';
  10. const KEY = '5lEtcVlnQJpEObGYPJF6qf0SqJObB0';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_cangbuyd.php";
  12. const operator = [
  13. mtopcard\ChinaMobileCard => 'MOBILE',
  14. mtopcard\ChinaUnicomCard => 'UNICOM',
  15. mtopcard\ChinaTelecomCard => 'TELECOM'
  16. ];
  17. const ExtHeaders = ['Content-Type: application/x-www-form-urlencoded' , 'Accept: application/json;charset=UTF-8'];
  18. }