config.php 785 B

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