正在显示
1 个修改的文件
包含
0 行增加
和
18 行删除
routes/amp.php
已删除
100644 → 0
1 | -<?php | ||
2 | - | ||
3 | -use Illuminate\Support\Facades\Route; | ||
4 | - | ||
5 | -Route::prefix('api')->group(function () { | ||
6 | - Route::post('/inquiry',[\App\Http\Controllers\Api\InquiryController::class,'inquiry']); | ||
7 | - Route::post('/customerVisit',[\App\Http\Controllers\Cside\Visit\VisitController::class,'customerVisit']); | ||
8 | -}); | ||
9 | - | ||
10 | - | ||
11 | -Route::middleware(['hasProject', 'cors'])->group(function () { | ||
12 | - //首页 | ||
13 | - Route::get('/', [\App\Http\Controllers\Amp\IndexController::class, 'index']); | ||
14 | - //搜索页 | ||
15 | - Route::get('/search',[\App\Http\Controllers\Amp\IndexController::class,'search']); | ||
16 | - //其他页面路由 | ||
17 | - Route::any('{any}', [\App\Http\Controllers\Amp\IndexController::class,'router'])->where('any', '.*'); | ||
18 | -}); |
-
请 注册 或 登录 后发表评论