App Store search issue solved

This commit is contained in:
cuneytsenturk
2018-04-25 19:28:10 +03:00
parent 244b5aabbe
commit 1294ab3f8b
5 changed files with 42 additions and 5 deletions

View File

@ -108,6 +108,17 @@ trait Modules
return [];
}
public function getSearchModules($data = [])
{
$response = $this->getRemote('apps/search', 'GET', $data);
if ($response->getStatusCode() == 200) {
return json_decode($response->getBody())->data;
}
return [];
}
public function getCoreVersion()
{
$data['query'] = Info::all();