完善功能

This commit is contained in:
cjd
2026-02-07 22:55:07 +08:00
parent bf3a2e6971
commit ae7c009d28
111 changed files with 980 additions and 10111 deletions

View File

@@ -1,6 +1,7 @@
<?php
use App\Http\Controllers\ArticleController;
use App\Http\Controllers\AdController;
use App\Http\Controllers\CategoryController;
use App\Http\Controllers\CommentController;
use App\Http\Controllers\ContactController;
@@ -37,6 +38,7 @@ Route::get('/contact', [ContactController::class, 'show'])->name('contact.show')
Route::post('/contact', [ContactController::class, 'store'])->name('contact.store');
Route::get('/search', [SearchController::class, 'index'])->name('search.index');
Route::get('/out/{slug}', [OutboundController::class, 'redirect'])->name('outbound');
Route::get('/ads/{ad}', [AdController::class, 'redirect'])->name('ads.redirect');
Route::post('/comments', [CommentController::class, 'store'])->name('comments.store');
Route::post('/comments/{comment}/like', [CommentController::class, 'like'])->name('comments.like');
Route::get('/captcha', [CommentController::class, 'captcha'])->name('comments.captcha');