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