add page obj

This commit is contained in:
Jay 2018-09-26 11:04:06 +08:00
parent 06ac36b91d
commit a6c260096a

View File

@ -147,5 +147,9 @@ func GetLineMessageLog(c *context.Context) {
c.Success(map[string]interface{}{ c.Success(map[string]interface{}{
"list": resMap, "list": resMap,
"page": map[string]interface{}{
"cur": page.Page,
"total": page.Total,
},
}) })
} }