排序逻辑

This commit is contained in:
ZtRXR 2023-09-02 00:59:33 +08:00
parent afda4d6558
commit 4dbe7c5893

View File

@ -42,11 +42,11 @@ export class HotTopController {
endTime: nowDate endTime: nowDate
} }
) )
.orderBy('time.lastTime', "DESC") .addOrderBy('time.lastTime', "DESC")
// .addOrderBy('time.times', "DESC") .addOrderBy('time.times', "DESC")
.limit(limit) .limit(limit)
// .getSql() .getSql()
.getMany() // .getMany()
} }
} }