更改排序逻辑

This commit is contained in:
ZtRXR 2023-09-02 00:52:11 +08:00
parent 7305fc7a88
commit afda4d6558

View File

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