mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
修复存储功能
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user