This commit is contained in:
2022-05-04 15:41:02 +08:00
commit c76a1850a1
766 changed files with 201246 additions and 0 deletions

2
routes/api.php Normal file
View File

@@ -0,0 +1,2 @@
<?php

2
routes/channels.php Normal file
View File

@@ -0,0 +1,2 @@
<?php

1
routes/console.php Normal file
View File

@@ -0,0 +1 @@
<?php

13
routes/web.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
use Illuminate\Support\Facades\Route;
Route::group([
'middleware' => ['auth'],
], function () {
Route::get('/', 'IndexController@index')->name('index');
Route::get('/{vote}', 'IndexController@vote')->name('vote');
});
Route::get('auth/login', 'AuthController@login')->name('login');
Route::post('auth/login', 'AuthController@login')->name('login');