add api
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ DB_PASSWORD_2=
|
||||
DB_CONNECTION_3=mysql
|
||||
DB_HOST_3=127.0.0.1
|
||||
DB_PORT_3=3306
|
||||
DB_DATABASE_3=kauntan
|
||||
DB_DATABASE_3=kuantan
|
||||
DB_USERNAME_3=root
|
||||
DB_PASSWORD_3=
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ $router->group(['prefix'=>'api'], function () use ($router){
|
||||
$router->get('marhun/{norujukan}',['uses'=>'MarhunController@showOneMarhun']);
|
||||
$router->post('marhun/{kodcaw}',['uses'=>'MarhunController@create']);
|
||||
$router->put('marhun/{id}', ['uses' => 'MarhunController@update']);
|
||||
|
||||
$router->get('jemas/{kodcaw}',['uses'=>'MarhunController@getAllJemas']);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user