web.php 551 B

123456789101112131415161718192021
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Web Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | Here is where you can register web routes for your application. These
  8. | routes are loaded by the RouteServiceProvider within a group which
  9. | contains the "web" middleware group. Now create something great!
  10. |
  11. */
  12. use Illuminate\Support\Facades\Route;
  13. Route::get('/', function () {
  14. return view('welcome');
  15. })->middleware(["test"]);
  16. Route::get("/ceshi","Ceshi@index");