修复存储功能
This commit is contained in:
parent
60506ba311
commit
d604ec73e4
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue