This commit is contained in:
laodaming 2023-11-06 17:30:52 +08:00
parent c3b75656a4
commit e5fbfd1a93

View File

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