我正在使用actix-web,因此我会将缓存实例设置为应用程序状态。 ... HttpServer::new(move || { App::new() .app_data(app_state.clone()) } // Some ...
確定! 回上一頁