GWM : handler_id in staff table changesed from int to json
This commit is contained in:
parent
a923f575fc
commit
d1638ed79d
@ -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');
|
||||
|
||||
// });
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user