group(function () { Route::get("/", [Issue::class, 'index']); Route::get("/cao", [Issue::class, 'cao']); Route::get("/countdown", [Issue::class, 'countdown']); Route::get("/prediction", [Issue::class, 'prediction']); Route::get("/history", [Issue::class, 'history']); Route::get("/yuanTou", [Issue::class, 'yuanTou']); }); Route::get('/test', [Home::class, 'test']); Route::prefix('/pay')->group(function () { Route::post("/notify", [Pay::class, 'notifyHandle']); Route::post("/harvest", [Pay::class, 'harvestHandle']); }); Route::fallback(function () { return response()->json([ 'code' => HttpStatus::NOT_FOUND, 'timestamp' => time(), 'msg' => __('messages.' . HttpStatus::NOT_FOUND), 'data' => null ], 200); });