...
|
...
|
@@ -96,12 +96,13 @@ func GetComments(userId int64, sourceType int, sourceId int64, lastId int64, pag |
|
|
if lastId > 0 {
|
|
|
sql.Where(fmt.Sprintf("id<%d", lastId))
|
|
|
}
|
|
|
log.Debug(sql.Strings())
|
|
|
if total, err = sql.Querys(&v); err == nil {
|
|
|
if total == 0 {
|
|
|
log.Debug(sql.Strings())
|
|
|
//log.Debug(sql.Strings())
|
|
|
}
|
|
|
return
|
|
|
}
|
|
|
|
|
|
//log.Debug(sql.Strings())
|
|
|
return
|
|
|
} |
...
|
...
|
|