config.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. namespace refill\yunlingdf;
  3. class config
  4. {
  5. const ORDER_URL = 'http://121.89.243.74:9086/gameonlinepay.do';
  6. const QUERY_URL= 'http://121.89.243.74:9086/searchpay.do';
  7. const BALANCE_URL= 'http://121.89.243.74:9086/searchbalance.do';
  8. const USER_ID= '10002623';
  9. const KEY = 'M4GZNKZCW6kasAMbpGxDn3AcPJiYDFS5';
  10. const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yunlingdf.php";
  11. const USE_TYPE = [
  12. 'home' => 1,
  13. 'commerce' => 3,
  14. 'pedlar' => 2,
  15. ];
  16. const ExtHeaders = ['Content-Type:application/x-www-form-urlencoded;charset=utf-8'];
  17. const ERR_NOS = [
  18. '5001','5002','5003','5004','5005','5008','5009','5010','5011','5012'
  19. ];
  20. //需补全省份
  21. const product_id = [
  22. 1 => [
  23. 50 => '130000006845',
  24. 100 => '130000006846',
  25. 200 => '130000006847',
  26. 300 => '130000006848',
  27. 500 => '130000006849',
  28. 1000 => '130000006901',
  29. ],//北京
  30. 2 => [
  31. 50 => '130000006850',
  32. 100 => '130000006851',
  33. 200 => '130000006852',
  34. 300 => '130000006853',
  35. 500 => '130000006854',
  36. 1000 => '130000006926',
  37. ],//天津
  38. ];
  39. }