%PDF- %PDF-
Direktori : /var/www/html/hr/api/routes/api/v1/ |
Current File : /var/www/html/hr/api/routes/api/v1/auth.php |
<?php use Illuminate\Support\Facades\Route; Route::group([ 'middleware' => [ 'auth:api', ], ], function () { Route::get('me', 'AuthController@me') ->name('api.v1.me'); Route::post('updateProfile', 'AuthController@updateProfile') ->name('api.v1.updateProfile'); Route::post('changePassword', 'AuthController@changePassword') ->name('api.v1.changePassword'); Route::post('uploadAvatar', 'AuthController@uploadAvatar') ->name('api.v1.uploadAvatar'); Route::get('getMonthData', 'AuthController@getMonthData') ->name('api.v1.getMonthData'); Route::get('performance', 'AuthController@performance') ->name('api.v1.performance'); Route::get('days', 'DaysController@index') ->name('api.v1.days'); Route::get('holidays', 'HolidaysController@index') ->name('api.v1.holidays.index'); });