Merge branch 'master' into dev

This commit is contained in:
wenjianzhang authored and GitHub committed 2020-07-27 23:46:35 +08:00
commit e95bdf03f6
2 files changed
+7 -4

No files matched your search

+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)