更改排序方式

This commit is contained in:
ZtRXR 2023-09-02 00:43:35 +08:00
parent ff40cc6a27
commit 2dc0a7069a

View File

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