下面是route.php \think\Route::get('test','api/test/index'); \think\Route::put('test/:id','api/test/update&