config.php 635 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace refill\jinglan;
  3. use mtopcard;
  4. class config
  5. {
  6. const API_URL = 'http://123.56.243.180:26000/mch/api/v2/form';
  7. const ACCOUNT = '1000000851';
  8. const KEY = '80281d20ed3f4bc9917334c5c2e6c773';
  9. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_jinglan.php";
  10. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  11. const operator = [
  12. mtopcard\ChinaMobileCard => 1,
  13. mtopcard\ChinaUnicomCard => 2,
  14. mtopcard\ChinaTelecomCard => 3
  15. ];
  16. const ERRCODES = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '16', '17', '18'];
  17. }