fix
This commit is contained in:
parent
c3b75656a4
commit
e5fbfd1a93
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user