+ Adding mobilebackendtest routes

This commit is contained in:
DJERY-TOM 2020-04-21 15:04:24 +01:00
parent f243455a4f
commit f15f51216e
1 changed files with 17 additions and 0 deletions

View File

@ -31,6 +31,22 @@
});
/**
* Routes for MobileBackendTest
*/
$router->group(['prefix' => '/mobilebackendtest/interacted' , 'middleware' => 'auth:api'], function () use ($router){
$router->post('LoginAction', 'MobileBackendController@action');
$router->post('BalanceAction', 'MobileBackendController@action');
$router->post('ConfigAction', 'MobileBackendController@action');
$router->post('DemandeAction', 'MobileBackendController@action');
$router->post('MembersAction', 'MobileBackendController@action');
$router->post('LocationAction', 'MobileBackendController@action');
$router->post('NetworkAction', 'MobileBackendController@action');
$router->post('WalletAction', 'MobileBackendController@action');
});
/**
* Routes for Wallet Service
*/
@ -43,5 +59,6 @@
$router->group(['prefix' => '/wallets'] , function () use ($router){
$router->get('{id_agent}/activated', 'WalletController@get');
$router->get('{id_wallet}', 'WalletController@get');
$router->post('', 'WalletController@post');
});
});