This commit is contained in:
azw 2023-11-11 07:09:30 +00:00
parent 8cd5c74b85
commit 486d7c038a

View File

@ -55,7 +55,7 @@ struct IMMsgNode {
struct HttpContext { struct HttpContext {
id: u64, id: u64,
//req: &HttpRequest, query_str: String,
add_tick: i64, add_tick: i64,
handled: bool, handled: bool,
rsp: String rsp: String
@ -66,7 +66,7 @@ async fn index(data: Data<Arc::<AppState>>, req: HttpRequest) -> impl Responder
let context = Arc::new( let context = Arc::new(
Mutex::new(HttpContext{ Mutex::new(HttpContext{
id: 0, id: 0,
//req: &req, query_str: String::from(req.query_string()),
add_tick: 0, add_tick: 0,
handled: false, handled: false,
rsp: "".to_string() rsp: "".to_string()