添加中间件

This commit is contained in:
2025-05-27 15:46:40 +08:00
parent 37b4055924
commit a048f45aa3
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,11 @@
package middleware
import (
"github.com/gogf/gf/v2/net/ghttp"
)
// Response 统一响应中间件
func Response(r *ghttp.Request) {
r.Middleware.Next()
}