add log
This commit is contained in:
parent
871ba9300c
commit
b24625235d
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user