diff --git a/router/api/line.go b/router/api/line.go index a239a50..ab093aa 100644 --- a/router/api/line.go +++ b/router/api/line.go @@ -1,6 +1,7 @@ package api import ( + "fmt" "strconv" "git.trj.tw/golang/mtfosbot/model" @@ -59,6 +60,7 @@ func GetLineMessageLog(c *context.Context) { count, err := model.GetLineMessageLogCount(where) if err != nil { + fmt.Println("count error :::: ", err) c.ServerError(nil) return }