|
@@ -168,10 +168,13 @@ public class TicketController extends BaseController {
|
168
|
168
|
@ApiOperation(value = "物业,门卫,领导电话", notes = "物业,门卫,领导电话")
|
169
|
169
|
@RequestMapping(value = "/allTpAnnouncementTel", method = RequestMethod.GET)
|
170
|
170
|
@ApiImplicitParams({
|
|
171
|
+ @ApiImplicitParam(paramType = "query",dataTypeClass = Integer.class,name = "communityId", value = "小区编号"),
|
171
|
172
|
@ApiImplicitParam(paramType = "header",dataType = "String",name = "X-Auth-Token",value = "Token")
|
172
|
173
|
})
|
173
|
|
- public ResponseBean getTpAnnouncementTel(HttpSession session) {
|
|
174
|
+ public ResponseBean getTpAnnouncementTel(HttpSession session,
|
|
175
|
+ @RequestParam(value = "communityId",required = false) Integer communityId) {
|
174
|
176
|
UserElement userElement = getUserElement(session);
|
|
177
|
+ userElement.setCommunityId(userElement.getCommunityId() == null?communityId:userElement.getCommunityId());
|
175
|
178
|
ResponseBean agreement = agreementServicel.getTpAnnouncementTel(userElement);
|
176
|
179
|
return agreement;
|
177
|
180
|
}
|