This commit is contained in:
Jay 2018-10-15 16:39:06 +08:00
parent 871ba9300c
commit b24625235d

View File

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