add insert record tukar taraf

This commit is contained in:
Ain Izazi
2024-12-31 11:07:37 +08:00
parent 84dc500162
commit 038ece5425
3 changed files with 36 additions and 9 deletions
+2
View File
@@ -70,6 +70,8 @@ $router->group(['prefix'=>'api'], function () use ($router){
//pengesahan kakitangan
$router->post('/kakitangan/{kodcaw}', ['uses' => 'CustomerController@kakitangan']);
//tukar taraf
$router->get('tukartaraf/{kodcaw}/{role}',['uses'=>'CustomerController@TukarTaraf']);
//Gadai API
$router->get('gadai',['uses'=>'GadaiController@showAllGadais']);