排序逻辑

This commit is contained in:
ZtRXR 2023-09-02 00:59:33 +08:00
parent afda4d6558
commit 4dbe7c5893
1 changed files with 4 additions and 4 deletions

View File

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