排序逻辑
This commit is contained in:
parent
afda4d6558
commit
4dbe7c5893
@ -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()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user