From a6c260096a31fd2c70f7cbe54cf83fe13bdc75f7 Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 26 Sep 2018 11:04:06 +0800 Subject: [PATCH] add page obj --- router/api/api.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/router/api/api.go b/router/api/api.go index 605f228..693295e 100644 --- a/router/api/api.go +++ b/router/api/api.go @@ -147,5 +147,9 @@ func GetLineMessageLog(c *context.Context) { c.Success(map[string]interface{}{ "list": resMap, + "page": map[string]interface{}{ + "cur": page.Page, + "total": page.Total, + }, }) }