|
@@ -59,4 +59,18 @@ public class SocialController {
|
59
|
59
|
responseBean.addSuccess(announcementList);
|
60
|
60
|
return responseBean;
|
61
|
61
|
}
|
|
62
|
+
|
|
63
|
+ @ApiOperation(value = "获取公告轮播图", notes = "获取公告轮播图")
|
|
64
|
+ @ApiImplicitParams({
|
|
65
|
+ @ApiImplicitParam(paramType = "query",dataType = "String",name = "communityId",value = "小区id"),
|
|
66
|
+ @ApiImplicitParam(paramType = "query",dataType = "String",name = "sum",value = "显示的条数")
|
|
67
|
+ })
|
|
68
|
+ @RequestMapping(value = "/announcement/announcementCarouselImg/{communityId}",method = RequestMethod.GET)
|
|
69
|
+ public ResponseBean getAnnouncement(@PathVariable(value = "communityId")Integer communityId ,@RequestParam("sum") Integer sum){
|
|
70
|
+ ResponseBean responseBean = new ResponseBean();
|
|
71
|
+ List<TpAnnouncement> agreement = socialServiceI.getAnnouncement(communityId,sum);
|
|
72
|
+ responseBean.addSuccess(agreement);
|
|
73
|
+ return responseBean;
|
|
74
|
+ }
|
|
75
|
+
|
62
|
76
|
}
|