Compare commits
No commits in common. "8f4ac15a31522ff7c2e19fdb74ccd5e32540779c" and "a09c51ba0515580d3a0184947642597b017ed279" have entirely different histories.
8f4ac15a31
...
a09c51ba05
|
@ -20,7 +20,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.util.CollectionUtils;
|
import org.springframework.util.CollectionUtils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
@ -158,8 +157,8 @@ public class IndexServiceImpl implements IndexService {
|
||||||
log.info("allAppList:{}", JSON.toJSONString(allAppList));
|
log.info("allAppList:{}", JSON.toJSONString(allAppList));
|
||||||
return new GeneralResult(true, allAppList, "查询成功");
|
return new GeneralResult(true, allAppList, "查询成功");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("查询失败", e);
|
log.info("查询失败", e);
|
||||||
return new GeneralResult(true,new ArrayList<>(),"查询失败");
|
return new GeneralResult(false, "查询失败");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue