|
@@ -266,6 +266,35 @@ public class SocialController extends BaseController {
|
266
|
266
|
return responseBean;
|
267
|
267
|
}
|
268
|
268
|
|
|
269
|
+
|
|
270
|
+ @ApiOperation(value = "查询二手租赁回复", notes = "查询二手租赁回复")
|
|
271
|
+ @ApiImplicitParams({
|
|
272
|
+ @ApiImplicitParam(paramType = "query", dataType = "integer", name = "activityId", value = "活动帖子id"),
|
|
273
|
+ @ApiImplicitParam(paramType = "header",dataType = "String",name = "X-Auth-Token",value = "Token"),
|
|
274
|
+ @ApiImplicitParam(paramType = "query", dataTypeClass = Integer.class, name = "pageNum", value = "第几页"),
|
|
275
|
+ @ApiImplicitParam(paramType = "query", dataTypeClass = Integer.class, name = "pageSize", value = "一页多少行"),
|
|
276
|
+ @ApiImplicitParam(paramType = "query", dataTypeClass = String.class, name = "order", value = "asc 正序(默认), desc倒序")
|
|
277
|
+ })
|
|
278
|
+ @RequestMapping(value = "/getTransactionReply", method = RequestMethod.GET)
|
|
279
|
+ public ResponseBean findUsedDetailsReply(@RequestParam("activityId") Integer activityId,
|
|
280
|
+ @RequestParam(value = "order", defaultValue = "asc") String order,
|
|
281
|
+ @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum,
|
|
282
|
+ @RequestParam(value = "pageSize", defaultValue = "10")Integer pageSize,
|
|
283
|
+ HttpSession session) {
|
|
284
|
+ ResponseBean responseBean = new ResponseBean();
|
|
285
|
+ UserElement userElement = (UserElement) session.getAttribute(Constant.APP_USER_SESSION);
|
|
286
|
+
|
|
287
|
+ if (!check(userElement.getCommunityId())) {
|
|
288
|
+ responseBean.addError("小区不存在");
|
|
289
|
+ return responseBean;
|
|
290
|
+ }
|
|
291
|
+
|
|
292
|
+ responseBean = socialServiceI.findUsedDetailsReply(activityId, userElement, order, pageNum, pageSize);
|
|
293
|
+ return responseBean;
|
|
294
|
+ }
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
269
|
298
|
@ApiOperation(value = "获取所有的二手租赁帖子", notes = "获取所有的二手租赁帖子")
|
270
|
299
|
@ApiImplicitParams({@ApiImplicitParam(paramType = "path", dataType = "integer", name = "communityId", value = "小区Id"),
|
271
|
300
|
@ApiImplicitParam(paramType = "query", dataType = "String", name = "type", value = "帖子类型"),
|