This commit is contained in:
2025-06-24 22:09:05 +08:00
parent 32a7a512a2
commit fdac99f11c
38 changed files with 42980 additions and 180 deletions

View File

@@ -2,7 +2,6 @@ package middleware
import (
"blazing/modules/base/config"
"fmt"
"net/http"
"github.com/gogf/gf/v2/frame/g"
@@ -22,7 +21,7 @@ func MiddlewareCORS(r *ghttp.Request) {
r.Response.WriteStatus(http.StatusOK)
return
}
fmt.Println(r.Response.Header())
// fmt.Println(r.Response.Header())
//g.Dump(r.Response.Server.SetConfig(gtt))
//r.Response.Header().Del("Server") // 删除Server头
// r.Response.Header().Set("Server", "blazing")