Compare commits

...

2 Commits

Author SHA1 Message Date
Hoshi 8f4ac15a31 Merge remote-tracking branch 'origin/develop' into develop 2024-09-18 10:44:51 +08:00
Hoshi 8130f039cc 修复appList查询报错问题 2024-09-18 10:44:37 +08:00
1 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -157,8 +158,8 @@ public class IndexServiceImpl implements IndexService {
log.info("allAppList:{}", JSON.toJSONString(allAppList));
return new GeneralResult(true, allAppList, "查询成功");
} catch (Exception e) {
log.info("查询失败", e);
return new GeneralResult(false, "查询失败");
log.error("查询失败", e);
return new GeneralResult(true,new ArrayList<>(),"查询失败");
}
}