config.php 889 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace refill\taoxun;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://39.101.178.136:8911/api/hf/order/submit';
  7. const QUERY_URL = 'http://39.101.178.136:8911/api/order/query';
  8. const BALANCE_URL = 'http://39.101.178.136:8911/api/account/balance';
  9. const APP_ID = 'OxsfUz4EmK';
  10. const APP_SECRET = 'iBrdSRAaAHfNyAMQ';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_taoxun.php";
  12. const PRODUCT = [
  13. mtopcard\ChinaMobileCard => [
  14. 100 => 100256,
  15. 200 => 100257,
  16. 300 => 100308,
  17. 500 => 100307,
  18. ],
  19. mtopcard\ChinaUnicomCard => [
  20. ],
  21. mtopcard\ChinaTelecomCard => [
  22. ]
  23. ];
  24. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  25. const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
  26. }