Browse Source

update integration material

pull/3/head
Muhammad Sulaiman Yusuf 2 years ago
parent
commit
6183502af2
  1. 4
      config/api.php
  2. 1
      routes/web.php

4
config/api.php

@ -1,5 +1,7 @@
<?php
return [
'nominatim' => env('API_NOMINATIM', 'https://nominatim.oslogdev.com')
'nominatim' => env('API_NOMINATIM', 'https://nominatim.oslogdev.com'),
'adw' => env('API_ADW', 'http://ospro-api.adyawinsa.com:9083/api'),
'adw_token' => env('API_ADW_TOKEN', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIxMjAyIiwiZXhwIjoxNjkxODMwNDkzfQ.DvBQIOZsdFndWsliPCZT65Y6G5Xx4vWBKz8Rhe7rvRA')
];
?>

1
routes/web.php

@ -113,6 +113,7 @@ $router->group(['prefix'=>'api', 'middleware' => 'cors'], function () use ($rout
$router->put('/request-material/update/{id}', 'RequestMaterialController@update');
$router->delete('/request-material/delete/{id}', 'RequestMaterialController@delete');
$router->get('/request-material/list', 'RequestMaterialController@list');
$router->get('/request-material/get-material-integration', 'RequestMaterialController@getMaterialIntegration');
$router->put('/request-material/update-warehouse-site/{id}', 'RequestMaterialController@updateWarehouseSite');

Loading…
Cancel
Save