1
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user