|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
use App\Http\Controllers\FrontIndexController;
|
|
|
|
use App\Http\Controllers\AuthController;
|
|
|
|
use App\Http\Controllers\DenController;
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider and all of them will
|
|
|
|
| be assigned to the "web" middleware group. Make something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
//index
|
|
|
|
Route::get("/", [FrontIndexController::class, 'start']);
|
|
|
|
|
|
|
|
//auth
|
|
|
|
Route::get("/login", [AuthController::class, 'showLogin']);
|
|
|
|
Route::post("/login", [AuthController::class, 'memberAuth']);
|
|
|
|
|
|
|
|
//den
|
|
|
|
Route::get("/den", [DenController::class, 'start'])->middleware('member.check');
|
|
|
|
Route::get("/logout", [AuthController::class, 'leave']);
|