asis & readme

This commit is contained in:
2023-09-28 15:42:22 +08:00
parent 043fb3db85
commit 8342e47e4b
4 changed files with 21 additions and 90 deletions

View File

@@ -103,8 +103,9 @@ func main() {
engine.POST("/v1/*any", func(c *gin.Context) {
record := Record{
IP: c.ClientIP(),
CreatedAt: time.Now(),
IP: c.ClientIP(),
CreatedAt: time.Now(),
Authorization: c.Request.Header.Get("Authorization"),
}
defer func() {
if err := recover(); err != nil {