feat: 添加机器人请求参数的日志输出
This commit is contained in:
parent
8f469ad28d
commit
f746e42e0c
@ -3,6 +3,7 @@ import { manageEventMsg } from "./eventMsg";
|
||||
|
||||
export const manageBotReq = async (req: Request) => {
|
||||
const body = (await req.json()) as any;
|
||||
console.log("🚀 ~ manageBotReq ~ body:", body);
|
||||
// 验证机器人
|
||||
if (body?.type === "url_verification") {
|
||||
return Response.json({ challenge: body?.challenge });
|
||||
|
Loading…
x
Reference in New Issue
Block a user