feat Log Masuk & Keluar Sistem

This commit is contained in:
BTMS2
2024-12-09 15:28:16 +08:00
parent 79f595cefe
commit 44f632638b
2 changed files with 48 additions and 2 deletions
+2 -1
View File
@@ -41,7 +41,7 @@ $router->group(['prefix'=>'api'], function () use ($router){
$router->get('/', 'PayableUjrahBranchController@index');
$router->post('/', 'PayableUjrahBranchController@create');
$router->post('/sync-status', 'PayableUjrahBranchController@syncStatus');
});
});
//Customer API
$router->get('customers',['uses'=>'CustomerController@showAllCustomers']);
@@ -119,6 +119,7 @@ $router->group(['prefix'=>'api'], function () use ($router){
///Log session
$router->post('logsession/{kodcaw}',['uses'=>'LogController@logSession']);
$router->get('checknokp/{kodcaw}/{nokp}/{tarikh}',['uses'=>'LogController@checkNokpSession']);
$router->post('logoutsession/{kodcaw}',['uses'=>'LogController@logoutSession']);
//Tebus API
$router->get('tebustawarruq/{kodcaw}/{norujukan}',['uses'=>'TebusController@tebusTawarruq']);