config.php 865 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace refill\yunchonggongdf;
  3. class config
  4. {
  5. const ORDER_URL = 'http://119.23.54.206:8911/api/order/submit';
  6. const QUERY_URL = 'http://119.23.54.206:8911/api/order/query';
  7. const BALANCE_URL = 'http://119.23.54.206:8911/api/account/balance';
  8. const APP_ID = 'FckhPc9kAK';
  9. const APP_SECRET = 'zOGQRiMKyfoxBtJy';
  10. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yunchonggongdf.php";
  11. const USE_TYPE = [
  12. 'home' => 1,
  13. 'commerce' => 3,
  14. 'pedlar' => 2,
  15. ];
  16. const PRODUCT = [
  17. 50 => 100113,
  18. 100 => 100114,
  19. 200 => 100115,
  20. 300 => 100116,
  21. 500 => 100117,
  22. 1000 => 100118
  23. ];
  24. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  25. const ERRCODES = ['-10', '-12', '-13', '-14', '-15', '-16', '-18', '-21'];
  26. }