App Store Pre-Sale Feature

This commit is contained in:
cuneytsenturk
2019-01-30 18:39:39 +03:00
parent 39d3c85615
commit 4bc916924f
70 changed files with 2796 additions and 2 deletions

View File

@ -167,6 +167,17 @@ trait Modules
return $installed;
}
public function getPreSaleModules($data = [])
{
$response = $this->getRemote('apps/pre_sale', 'GET', $data);
if ($response && ($response->getStatusCode() == 200)) {
return json_decode($response->getBody())->data;
}
return [];
}
public function getPaidModules($data = [])
{
$response = $this->getRemote('apps/paid', 'GET', $data);