修改获取思路
This commit is contained in:
parent
e33430e08c
commit
5c80e7cf23
@ -55,8 +55,8 @@ export class HotTopController {
|
|||||||
.andWhere("times.fromWeb = :searchWeb",{
|
.andWhere("times.fromWeb = :searchWeb",{
|
||||||
searchWeb:searchWeb.id
|
searchWeb:searchWeb.id
|
||||||
})
|
})
|
||||||
.addOrderBy('times.lastTime', "DESC")
|
|
||||||
.addOrderBy('times.times', "DESC")
|
.addOrderBy('times.times', "DESC")
|
||||||
|
.addOrderBy('times.lastTime', "DESC")
|
||||||
.limit(limit)
|
.limit(limit)
|
||||||
// .getSql()
|
// .getSql()
|
||||||
.getMany()
|
.getMany()
|
||||||
|
Loading…
Reference in New Issue
Block a user