在各种公共方法都设计好,软件安装成功的条件下

routes/web.php中路由信息如下

<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/index', 'Api\BannerController@index'); //后台登录操作
View Code

相关文章: