server
This commit is contained in:
+10
-2
@@ -22,6 +22,14 @@ $router->group(['namespace' => '\Rap2hpoutre\LaravelLogViewer'], function() use
|
||||
$router->get('logs', 'LogViewerController@index');
|
||||
});
|
||||
|
||||
$router->get('_/phpinfo', function () {
|
||||
ob_start();
|
||||
phpinfo();
|
||||
$response = ob_get_contents();
|
||||
ob_get_clean();
|
||||
return $response;
|
||||
});
|
||||
|
||||
$router->group(['prefix'=>'api'], function () use ($router){
|
||||
//Customer API
|
||||
$router->get('customers',['uses'=>'CustomerController@showAllCustomers']);
|
||||
@@ -175,7 +183,7 @@ $router->group(['prefix'=>'api'], function () use ($router){
|
||||
$router->post('transaksi_keuntungan',['uses'=>'TransaksiKeuntunganController@createTransaksiKeuntungan']);
|
||||
|
||||
|
||||
$router->get('latest_transaksi_untung/data/{norujukan}',['uses'=>'TransaksiKeuntunganController@getLatestTransaksi_Untung']); // new added 20210413
|
||||
$router->get('latest_transaksi_untung/{norujukan}',['uses'=>'TransaksiKeuntunganController@getLatestTransaksi_Untung']); // new added 20210413
|
||||
$router->get('jumlah_bayaran_pendahuluan/{norujukan}',['uses'=>'TransaksiKeuntunganController@GetjumlahBayaranPendahuluan']); // new added 20210413
|
||||
|
||||
|
||||
@@ -489,4 +497,4 @@ $router->group(['prefix'=>'dashboard'], function () use ($router){
|
||||
|
||||
$router->get('komoditi/jumlah/baki',['uses'=>'KomuditiController@jumlahKomoditiDashboard']);
|
||||
$router->post('komoditi/statistik',['uses'=>'KomuditiController@statistikKomoditiDashboard']);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user