123456789101112 |
- <?php
- use Illuminate\Support\Facades\Route;
- Route::group( ['domain' => env('APP_HOST'), 'prefix' => 'adminApi'],function(){
- Route::match(['get','post'],'login', 'LoginController@login')->name('adminApi.login');// 登录
- Route::match(['get','post'],'logout', 'LoginController@logout')->name('adminApi.logout');//退出
- });
|