event type string

This commit is contained in:
quantulr
2024-01-19 10:12:16 +08:00
parent df72e9b43c
commit 595f9e9670

View File

@ -21,7 +21,7 @@ async fn event_rcv_handle(
None => String::from("未知事件类型"),
Some(name) => name.to_string(),
};
let _ = reqwest::get(format!("https://www.feishu.cn/flow/api/trigger-webhook/31f13dead0bf78fc4bdb51ba23abba9f?title={}&content={}", event_type, event.happen_time)).await;
let _ = reqwest::get(format!("https://www.feishu.cn/flow/api/trigger-webhook/31f13dead0bf78fc4bdb51ba23abba9f?title={}&content=发生时间:{}", event_type, event.happen_time)).await;
}
});
Ok(String::from("success"))