family banner routes
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user