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