config_x7sy.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * 小七手游 配置参数
  4. * @author gwang
  5. */
  6. class config_x7sy {
  7. //put your code here
  8. /**
  9. * @var 应用包名
  10. */
  11. public $AppPackage = "com.loyalsoft.ylsj.x7sy";
  12. /**
  13. * @var string 应用秘钥
  14. */
  15. public $AppKey = "ad547bd28b1e8ff4ed23a13329515788";
  16. /**
  17. * @var string 当前PayID参数
  18. */
  19. public $PayID = "14328";
  20. /**
  21. * @var string RSA公钥
  22. */
  23. public $RSA_pub = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDG6shmbeWk3Vt5pM4uXUncVsgqpmU8nypWDnh57EiJJVAVRnbqdONh9+wCaNSWbE9LdYog9gJHF+HQpA6911ZLUVWw/y2A0UmohXyHHiWaZbpgCCfOKnDmpkWAA7ZrBi+SIIVXNEeuXYjxfaGHK6v9CwUjKe9dY5iOZp/S1s7mBQIDAQAB";
  24. public $LoginApiURL = "https://api.x7sy.com/user/check_login";
  25. const isTest = true;
  26. /**
  27. *
  28. * @return \config_x7sy
  29. */
  30. static public function Inst() {
  31. $cfg = new config_x7sy();
  32. if (self::isTest) {
  33. $cfg->LoginApiURL = "https://api.x7sy.com/user/test_check_login";
  34. }
  35. return $cfg;
  36. }
  37. }