Commit 1feec22e authored by 赵啸非's avatar 赵啸非

添加新闻来源

parent 5da08fef
Pipeline #2391 canceled with stages
...@@ -271,7 +271,7 @@ public class HomeController extends BaseJsonBodyController { ...@@ -271,7 +271,7 @@ public class HomeController extends BaseJsonBodyController {
model.put("dayThrift", 66); //今日节约 model.put("dayThrift", 66); //今日节约
model.put("totalThrift", 996); //累计节约 model.put("totalThrift", 996); //累计节约
Rest<com.mortals.xhx.common.pdu.site.SitePdu> info = siteFeign.info(homeQueryPdu.getSiteId()); Rest<com.mortals.xhx.common.pdu.site.SitePdu> info = siteFeign.info(homeQueryPdu.getSiteId());
model.put("title", info.getData().getSiteName()); //标题 model.put("title", info==null?"":info.getData().getSiteName()); //标题
HotwordEntity hotwordEntity = hotwordService.selectOne(new HotwordQuery().siteId(homeQueryPdu.getSiteId())); HotwordEntity hotwordEntity = hotwordService.selectOne(new HotwordQuery().siteId(homeQueryPdu.getSiteId()));
model.put("blankCount", hotwordEntity==null?20:hotwordEntity.getPrintDisplay()); //空白样表数量 model.put("blankCount", hotwordEntity==null?20:hotwordEntity.getPrintDisplay()); //空白样表数量
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment