config.php 812 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace refill\guantufs;
  3. use mtopcard;
  4. class config
  5. {
  6. const ORDER_URL = 'http://8.142.121.158:8911/api/hf/order/submit';
  7. const QUERY_URL = 'http://8.142.121.158:8911/api/order/query';
  8. const BALANCE_URL = 'http://8.142.121.158:8911/api/account/balance';
  9. const APP_ID = '2ShLSBpImt';
  10. const APP_SECRET = 'QjJeQUacifyTfKAy';
  11. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_guantufs.php";
  12. const PRODUCT = [
  13. mtopcard\ChinaMobileCard => [
  14. 30 => 100073,
  15. 50 => 100074,
  16. 100 => 100075,
  17. 200 => 100076,
  18. ],
  19. ];
  20. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  21. const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
  22. }