data adjust

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 18:48:10 -04:00
parent 21e9a6a806
commit b66a233d6b
2 changed files with 3 additions and 7 deletions
+1 -6
View File
@@ -34,13 +34,8 @@ $routes->setAutoRoute(true);
// route since we don't have to scan directories.
$routes->get('/', 'Home::index');
$routes->get('/wp/', 'Dengine::index');
$routes->get('/merms/wp/', 'Merms::index');
$routes->get('/en/floatweb/api/v1/wp/', 'FloatWeb::index');
$routes->get('/merms/wp/', 'Merms::index');
$routes->get('/en/floatweb/api/v1/blogdata/', 'FloatWeb::index');
//CHIEFSOFT WEBSITE
+2 -1
View File
@@ -35,7 +35,8 @@ class FloatWeb extends BaseController
// $row = $query->result_array();
// $data["blog_array"] = $row;
$data['payload'] = $query->getResult('array');
$data['payload']['blogdata'] = $query->getResult('array');
$data['payload']['featured'] = [];
} catch (Exception $ex) {
}