mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-09 16:10:00 +08:00
fix: disable array request body (#4220)
This commit is contained in:
@@ -575,3 +575,7 @@ func (e *BodyExpr) Pos() token.Position {
|
||||
}
|
||||
|
||||
func (e *BodyExpr) exprNode() {}
|
||||
|
||||
func (e *BodyExpr) IsArrayType() bool {
|
||||
return e.LBrack != nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user