diff --git a/Laravel/resources/views/fenzhen.blade.php b/Laravel/resources/views/fenzhen.blade.php index c9038ea..93bb797 100644 --- a/Laravel/resources/views/fenzhen.blade.php +++ b/Laravel/resources/views/fenzhen.blade.php @@ -117,7 +117,7 @@ const id_number = ref('{{ $id_number }}') const searchClick = () => { if (id_number.value !== '{{ $id_number }}') { - window.location.href = '/fenzhen?id_number=' + id_number.value + window.location.href = '/fz?id_number=' + id_number.value } } diff --git a/Laravel/routes/web-zhao.php b/Laravel/routes/web-zhao.php index 2d195b0..8078594 100644 --- a/Laravel/routes/web-zhao.php +++ b/Laravel/routes/web-zhao.php @@ -5,7 +5,7 @@ use Illuminate\Support\Facades\Route; Route::any('/api/test', 'App\Http\Controllers\TestController@ApiTest'); Route::post("/api/Fz/change", [\App\Http\Controllers\H5\FenzhenController::class, 'check_in_action']); -Route::get("/fenzhen", [\App\Http\Controllers\H5\FenzhenController::class, 'check_in']); +Route::get("/fz", [\App\Http\Controllers\H5\FenzhenController::class, 'check_in']); Route::any("/api/H5/User/hunjian", [\App\Http\Controllers\API\H5\UserController::class, 'hunjian']); Route::any("/api/H5/Question/choose", [\App\Http\Controllers\API\H5\QuestionnaireController::class, 'list']); Route::any("/api/H5/QuestionLog/push", [\App\Http\Controllers\API\H5\QuestionnairesLogsController::class, 'push']);