caipin 4 years ago
parent
commit
2e0b8b9e3c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/api/project_account_api.go

+ 1 - 1
web/api/project_account_api.go

@@ -88,7 +88,7 @@ func (c *ProjectAccountApi) GetGroup() {
 
 
 	// 获得检索关键字
 	// 获得检索关键字
 	AccountData := viewmodels.ProjectAccount{}
 	AccountData := viewmodels.ProjectAccount{}
-	err := c.Ctx.ReadJSON(&AccountData)
+	err := c.Ctx.ReadForm(&AccountData)
 	if err != nil {
 	if err != nil {
 		c.Ctx.JSON(iris.Map{"code": -1, "msg": fmt.Sprintf("JSON转换异常, error=%s", err)})
 		c.Ctx.JSON(iris.Map{"code": -1, "msg": fmt.Sprintf("JSON转换异常, error=%s", err)})
 		return
 		return