diff --git a/server/feishu-sync/internal/handler/webhookhandler.go b/server/feishu-sync/internal/handler/webhookhandler.go index 137a5d28..759d3ff3 100644 --- a/server/feishu-sync/internal/handler/webhookhandler.go +++ b/server/feishu-sync/internal/handler/webhookhandler.go @@ -17,7 +17,6 @@ import ( func WebhookHandler(svcCtx *svc.ServiceContext) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { b, _ := io.ReadAll(r.Body) - defer r.Body.Close() log.Println("收到body信息:", string(b)) var req types.WebhookReq userinfo, err := basic.RequestParse(w, r, svcCtx, &req)