Compare commits
2 Commits
a09c51ba05
...
8f4ac15a31
Author | SHA1 | Date |
---|---|---|
|
8f4ac15a31 | |
|
8130f039cc |
|
@ -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<>(),"查询失败");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue