傅行帆 vor 6 Jahren
Ursprung
Commit
3391c48590

+ 2
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/controller/SocialController.java Datei anzeigen

@@ -32,7 +32,8 @@ public class SocialController {
32 32
 
33 33
     @RequestMapping(value = "/announcement/{communityId}", method = RequestMethod.GET)
34 34
     @ApiOperation(value = "论坛公告帖子详情", notes = "获取论坛公告帖子详情")
35
-    @ApiImplicitParams({ @ApiImplicitParam(paramType = "query", dataType = "Long", name = "communityId", value = "小区Id") })
35
+    @ApiImplicitParams({ @ApiImplicitParam(paramType = "path", dataType = "integer", name = "communityId", value = "小区Id"),
36
+            @ApiImplicitParam(paramType = "query", dataType = "integer", name = "id", value = "公告帖子id")})
36 37
     public ResponseBean findAnnouncementDetail(@PathVariable(value = "communityId")Integer communityId, @RequestParam("id") Integer id){
37 38
         ResponseBean responseBean = new ResponseBean();
38 39
         TpAnnouncement tpAnnouncement = socialServiceI.findAnnouncementDetail(id, communityId);