This commit is contained in:
邹宗楠
2022-12-06 15:24:44 +08:00
parent 2b5422b0d7
commit 9ac68dbb47
4 changed files with 24 additions and 8 deletions

View File

@@ -125,7 +125,10 @@ func (p *PrintNotice) SelectNoticeAddress(c *gin.Context) {
return
}
controllers.CallFunc(c, func() (retVal interface{}, errCode string, err error) {
result, err := server.QueryPrintNotice(param)
return result, "", err
result, count, err := server.QueryPrintNotice(param)
resultMap := make(map[string]interface{}, 2)
resultMap["result"] = result
resultMap["count"] = count
return resultMap, "", err
})
}