mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-26 21:26:38 +08:00
取消框架读取body
This commit is contained in:
parent
a90f00f7a4
commit
672c01a2e4
@ -232,6 +232,10 @@ func needLogin(c *gin.Context) bool {
|
||||
// 统一参数处理
|
||||
func parameterHandlerMiddleware() gin.HandlerFunc {
|
||||
return func(c *gin.Context) {
|
||||
if strings.Contains(c.Request.URL.Path, "notify") {
|
||||
c.Next()
|
||||
return
|
||||
}
|
||||
// GET 参数处理
|
||||
params := c.Request.URL.Query()
|
||||
for key, values := range params {
|
||||
|
Loading…
Reference in New Issue
Block a user