"add parser multipart/form-data"

This commit is contained in:
抒情熊
2024-07-24 15:31:43 +08:00
parent 254b9777c0
commit 16e9a14a7d
2 changed files with 18 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ import (
)
type ModelRequest struct {
Model string `json:"model"`
Model string `json:"model" form:"model"`
}
func Distribute() func(c *gin.Context) {