config.php 803 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace refill\youhe;
  3. use mtopcard;
  4. class config
  5. {
  6. //953 1
  7. const ORDER_URL = 'http://118.31.168.250:10186/plat/api/old/submitorder';
  8. const QUERY_URL= 'http://118.31.168.250:10186/plat/api/old/queryorder';
  9. const BALANCE_URL = 'http://118.31.168.250:10186/plat/api/old/queryBalance';
  10. const USER_ID= '200022';
  11. const KEY = '7a196827b8a24987b777b3ccef04d84c';
  12. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_youhe.php";
  13. const operator = [
  14. mtopcard\ChinaMobileCard => 1,
  15. mtopcard\ChinaUnicomCard => 2,
  16. mtopcard\ChinaTelecomCard => 3
  17. ];
  18. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  19. const ERR_NO = [
  20. 1000,1001,1003,1004,2001,2002,2003,2020,2021,1006,2030,3003
  21. ];
  22. }