mobilebackendgateway/routes/web.php

35 lines
1.2 KiB
PHP

<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It is a breeze. Simply tell Lumen the URIs it should respond to
| and give it the Closure to call when that URI is requested.
|
*/
//$router->get('/', function () use ($router) {
// return $router->app->version();
//});
/**
* Routes for MobileBackend
*/
$router->group(['prefix' => '/mobilebackend/interacted'], function () use ($router){
$router->post('LoginAction', 'MobileBackendController@action');
$router->group(['middleware' => 'auth'], function () use ($router){
$router->post('BalanceAction', 'MobileBackendController@action');
$router->post('ConfigAction', 'MobileBackendController@action');
$router->post('DemandeAction', 'MobileBackendController@action');
$router->post('MembersAction', 'MobileBackendController@action');
$router->post('NetworkAction', 'MobileBackendController@action');
$router->post('WalletAction', 'MobileBackendController@action');
});
});