修复存储功能

This commit is contained in:
pan.wl.2 2024-11-13 14:12:08 +08:00
parent 60506ba311
commit d604ec73e4
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ public class SearchServiceImpl implements ISearchService {
@Override
public JSONObject hotLists() {
List<HotSearch> hotSearches = hotSearchMapper.selectList(new QueryWrapper<>());
List<HotSearch> hotSearches = hotSearchMapper.selectList(new QueryWrapper<HotSearch>().orderByDesc("sort"));
JSONObject result = new JSONObject(){{
put("status", ConfigUtils.get("hot_search", "status", "0"));
put("data", hotSearches);