config.php 747 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace refill\chending_df;
  3. class config
  4. {
  5. const ORDER_URL = 'http://39.101.178.136:8911/api/order/submit';
  6. const QUERY_URL = 'http://39.101.178.136:8911/api/order/query';
  7. const BALANCE_URL = 'http://39.101.178.136:8911/api/account/balance';
  8. const APP_ID = 'SfjndCMdUC';
  9. const APP_SECRET = 'wstGuZvbjDdnNUHx';
  10. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_chending_df.php";
  11. const USE_TYPE = [
  12. 'home' => 1,
  13. 'commerce' => 3,
  14. 'pedlar' => 2,
  15. ];
  16. const PRODUCT = [
  17. 100 => 100761,
  18. ];
  19. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  20. const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
  21. }