GWM : handler_id in staff table changesed from int to json

This commit is contained in:
Gowtham M 2025-11-06 14:51:52 +05:30
parent a923f575fc
commit d1638ed79d
2 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,7 @@ $routes->group('api', ['filter' => 'appSignature'], function ($routes) {
//api's with token
// $routes->group('api', ['filter' => ["jwtAuth","appSignature"] ], function ($routes) {
$routes->group('api', ['filter' => ["jwtAuth","appSignature"] ], function ($routes) {
//logout
$routes->get('auth/logout', 'StaffAuthController::logout');
@ -109,7 +109,7 @@ $routes->group('api', ['filter' => 'appSignature'], function ($routes) {
$routes->get('dashboard/staffDashboard', 'DashboardController::staffDashboard');
$routes->get('dashboard/agentDashboard', 'DashboardController::agentDashboard');
// });
});

View File

@ -40,7 +40,6 @@ class StaffController extends ResourceController
// ->where('partner_staff.handler_id' , $handler_id )
->findAll();
}
dd($data);
return $this->respond(['status' => 'success', 'code' => 200, 'data' => $data], 200);