diff --git a/src/implement/advertising_callback_implement.go b/src/implement/advertising_callback_implement.go index 1a2d60a..a2c4536 100644 --- a/src/implement/advertising_callback_implement.go +++ b/src/implement/advertising_callback_implement.go @@ -62,7 +62,7 @@ func (a AdvertisingCallbackDb) AdvertisingCallbackCountBySession(session *xorm.S } count, err := sess.Count(&m) if err != nil { - return false, err + return 0, err } return count, nil }