您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

MiscDataAccess.php 530B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 9/30/16
  6. * Time: 10:04 PM
  7. */
  8. namespace App\DataAccess;
  9. use GuzzleHttp\Client;
  10. use Luticate\Utils\Controller\LuticateApplication;
  11. class MiscDataAccess
  12. {
  13. public static function getConfigWebPage()
  14. {
  15. $client = new Client();
  16. $configWebPage = LuticateApplication::getInstance()->getSetting("API_CONFIG_WEBPAGE");
  17. $response = $client->request("GET", $configWebPage);
  18. $data = (string)$response->getBody();
  19. return $data;
  20. }
  21. }