family resources

This commit is contained in:
CHIEFSOFT\ameye
2024-02-26 12:58:29 -05:00
parent c5fe12736a
commit 0548bcdce0
3 changed files with 16 additions and 2 deletions
+1
View File
@@ -118,6 +118,7 @@ $routes->post('/en/wrench/api/v1/familylist', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familywallet', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familyresources', 'WrenchResources::familyresources');
$routes->post('/en/wrench/api/v1/familybanners', 'WrenchBanners::apigate'); // class WrenchBanners WrenchApi
$routes->post('/en/wrench/api/v1/familyrewardhx', 'WrenchApi::apigate');
@@ -73,6 +73,19 @@ class WrenchResources extends BaseController
}
public function familyresources(){
log_message('critical', "WrenchResources-> " );
$res1['tab_categories'] = $this->CategoryData();
$res1['ask_categories'] = $this->AskCategoryData();
$res1['upload_types'] = $this->uploadTypes();
$res1['marketdata'] = $this->MarketData();
$res1['productdata'] = $this->ProductData();
$res1['collectiondata'] = $this->CollectionData();
$res1['blogdata'] = $this->getBlogData();
return $this->response->setJson($res1);
}
private function AskCategoryData(){