优化代码
This commit is contained in:
parent
b081a2b3e5
commit
678c5a5fb6
|
|
@ -37,7 +37,8 @@ public class PcServiceImpI implements IPcService {
|
||||||
ArticleMapper articleMapper;
|
ArticleMapper articleMapper;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 配置
|
* 主页
|
||||||
|
*
|
||||||
* @author cjh
|
* @author cjh
|
||||||
* @return Map<String, Object>
|
* @return Map<String, Object>
|
||||||
*/
|
*/
|
||||||
|
|
@ -121,12 +122,14 @@ public class PcServiceImpI implements IPcService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 配置
|
* 配置
|
||||||
|
*
|
||||||
* @author cjh
|
* @author cjh
|
||||||
* @return Map<String, Object>
|
* @return Map<String, Object>
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Map<String, Object> getConfig() {
|
public Map<String, Object> getConfig() {
|
||||||
Map<String, Object> config = new LinkedHashMap<>();
|
Map<String, Object> config = new LinkedHashMap<>();
|
||||||
|
|
||||||
// 登录配置
|
// 登录配置
|
||||||
Map<String, Object> loginMap = new LinkedHashMap<>();
|
Map<String, Object> loginMap = new LinkedHashMap<>();
|
||||||
Map<String, String> loginConfig = ConfigUtils.get("login");
|
Map<String, String> loginConfig = ConfigUtils.get("login");
|
||||||
|
|
@ -165,6 +168,12 @@ public class PcServiceImpI implements IPcService {
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 资讯中心
|
||||||
|
*
|
||||||
|
* @author fzr
|
||||||
|
* @return List<PcArticleCenterVo>
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<PcArticleCenterVo> articleCenter() {
|
public List<PcArticleCenterVo> articleCenter() {
|
||||||
List<ArticleCategory> articleCategoryList = articleCategoryMapper.selectList(
|
List<ArticleCategory> articleCategoryList = articleCategoryMapper.selectList(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue