feat: 添加机器人请求参数的日志输出
All checks were successful
Egg CI/CD / build-image (push) Successful in 34s
Egg CI/CD / deploy (push) Successful in 1m7s

This commit is contained in:
zhaoyingbo 2024-05-24 08:31:44 +00:00
parent 8f469ad28d
commit f746e42e0c

View File

@ -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 });