pub fn host_send_to_frontend(event: &str, payload: &str) -> bool
调用主程序的 host_send_to_frontend 函数 这是实际执行向前端发送消息的函数