Merge branch 'master' into dev

This commit is contained in:
wenjianzhang
2020-07-27 23:46:35 +08:00
committed by GitHub
2 changed files with 7 additions and 4 deletions
+3 -1
View File
@@ -31,11 +31,13 @@ func GetPostList(c *gin.Context) {
pageIndex = tools.StrToInt(err, index)
}
data.PostCode = c.Request.FormValue("postCode")
id := c.Request.FormValue("postId")
data.PostId, _ = tools.StringToInt(id)
data.PostCode = c.Request.FormValue("postCode")
data.PostName = c.Request.FormValue("postName")
data.Status = c.Request.FormValue("status")
data.DataScope = tools.GetUserIdStr(c)
result, count, err := data.GetPage(pageSize, pageIndex)
tools.HasError(err, "", -1)