|
@@ -121,5 +121,28 @@ public class BuildingDynamicController extends BaseController {
|
121
|
121
|
return responseBean;
|
122
|
122
|
}
|
123
|
123
|
|
|
124
|
+ @RequestMapping(value = "/buildingDynamic/update" ,method =RequestMethod.POST)
|
|
125
|
+ @ApiOperation(value = "动态管理修改",notes="动态管理添加")
|
|
126
|
+ @ApiImplicitParams({
|
|
127
|
+ @ApiImplicitParam(paramType = "Query",dataTypeClass = String.class,name = "dynamicId",value = "动态id" ),
|
|
128
|
+ @ApiImplicitParam(paramType = "Query",dataTypeClass = String.class,name = "buildingId",value = "楼盘id" ),
|
|
129
|
+ @ApiImplicitParam(paramType = "Query",dataTypeClass = String.class,name = "imgUrl",value = "首页图片" ),
|
|
130
|
+ @ApiImplicitParam(paramType = "Query",dataTypeClass = String.class,name = "title",value = "标题" ),
|
|
131
|
+ @ApiImplicitParam(paramType = "Query",dataTypeClass = String.class,name = "desc",value = "描述" ),
|
|
132
|
+ @ApiImplicitParam(paramType = "Query",dataTypeClass = String.class,name = "url",value = "url" ),
|
|
133
|
+ @ApiImplicitParam(paramType = "Query",dataType = "Date",name = "publishDate",value = "publishDate" )
|
|
134
|
+ })
|
|
135
|
+ public ResponseBean buildingDynamicUpdate(@RequestParam(required = false) String buildingId,
|
|
136
|
+ @RequestParam(required = false) String imgUrl,
|
|
137
|
+ @RequestParam(required = false) String title,
|
|
138
|
+ @RequestParam(required = false) String desc,
|
|
139
|
+ @RequestParam(required = false) String url,
|
|
140
|
+ @RequestParam(value = "publishDate",required = false) Date publishDate,
|
|
141
|
+ @RequestParam(required = false) String dynamicId){
|
|
142
|
+ HashMap<Object,Object> map= new HashMap<>();
|
|
143
|
+ map.put("buildingId",buildingId);map.put("imgUrl",imgUrl);map.put("title",title);map.put("desc",desc);map.put("url",url);map.put("publishDate",publishDate);map.put("dynamicId",dynamicId);
|
|
144
|
+ ResponseBean responseBean= iBuildingDynamicService.buildingDynamicUpdate(map);
|
|
145
|
+ return responseBean;
|
|
146
|
+ }
|
124
|
147
|
|
125
|
148
|
}
|