This commit is contained in:
2026-01-13 00:52:19 +08:00
commit 9fd7eac2c8
9 changed files with 301 additions and 0 deletions

15
internal/logic/hook.go Normal file
View File

@@ -0,0 +1,15 @@
package logic
import (
"fmt"
"io"
"github.com/gin-gonic/gin"
)
func Hook(ctx *gin.Context) {
fmt.Println("BODY:")
reqBody, _ := io.ReadAll(ctx.Request.Body)
fmt.Println(string(reqBody))
return
}