family banner routes

This commit is contained in:
CHIEFSOFT\ameye
2024-02-25 07:04:22 -05:00
parent e47c94cf25
commit c5fe12736a
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -118,7 +118,8 @@ $routes->post('/en/wrench/api/v1/familylist', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familywallet', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familybanners', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familybanners', 'WrenchBanners::apigate'); // class WrenchBanners WrenchApi
$routes->post('/en/wrench/api/v1/familyrewardhx', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familytransferstart', 'WrenchApi::apigate');
$routes->post('/en/wrench/api/v1/familytransfer', 'WrenchApi::apigate');
+3 -3
View File
@@ -91,14 +91,14 @@ class WrenchBanners extends BaseController
}
switch($endpoint) {
case 'getjobsdata':
$in["action"] = 'marketjobs'; //WRENCHBOARD_ACCOUNT_JOBLIST;
case 'familybanners':
$in["action"] = 'familybanners'; //WRENCHBOARD_ACCOUNT_JOBLIST;
break;
}
if ( $call_backend == true && $in["action"] !='' ){
$local_url = "http://10.10.10.120:3033/marketjobs";
$local_url = "http://10.10.10.120:3032/familybanners";
$out = $this->APIcall('GET', $local_url, $in);
}
else