This commit is contained in:
2025-10-21 20:56:07 +08:00
parent b3a1fe1456
commit 3ad081111b
+1 -1
View File
@@ -4,6 +4,6 @@ import "github.com/gin-gonic/gin"
func V1_cookie_api(r *gin.RouterGroup) { func V1_cookie_api(r *gin.RouterGroup) {
r.GET("/test", func(ctx *gin.Context) { r.GET("/test", func(ctx *gin.Context) {
ctx.SetCookie("test", "testcookie", 100, "/", "127.0.0.1", false, true) //ctx.SetCookie("test", "testcookie", 100, "/", "127.0.0.1", false, true)
}) })
} }