|
@@ -78,7 +78,10 @@ public class BuildingController extends BaseController {
|
78
|
78
|
})
|
79
|
79
|
// @ApiImplicitParam(paramType = "header", dataTypeClass = String.class, name = "X-Auth-Token", value = "token")
|
80
|
80
|
@RequestMapping(value = "/appointmentlist", method = RequestMethod.GET)
|
81
|
|
- public ResponseBean appointmentList(@RequestParam("pageNum")Integer pageNum,@RequestParam("pageSize")Integer pageSize, HttpSession session,@RequestParam("buildingId")Integer buildingId,@RequestParam("username")String username){
|
|
81
|
+ public ResponseBean appointmentList(@RequestParam("pageNum")Integer pageNum,
|
|
82
|
+ @RequestParam("pageSize")Integer pageSize, HttpSession session,
|
|
83
|
+ @RequestParam("buildingId")Integer buildingId,
|
|
84
|
+ @RequestParam("username")String username){
|
82
|
85
|
// SysUser sessionUser= getSessionUser(session);
|
83
|
86
|
ResponseBean responseBean = iBuildingService.appointmentList(pageNum,pageSize,buildingId,username);
|
84
|
87
|
return responseBean;
|
|
@@ -99,13 +102,14 @@ public class BuildingController extends BaseController {
|
99
|
102
|
|
100
|
103
|
@ApiOperation(value = "楼盘修改成已发布", notes = "楼盘修改成已发布")
|
101
|
104
|
@ApiImplicitParams({
|
102
|
|
- @ApiImplicitParam(paramType = "path", dataTypeClass=Integer.class, name = "id", value = "楼盘id"),
|
|
105
|
+ @ApiImplicitParam(paramType = "body",dataType = "String",name = "parameter",value = "id:楼盘id,status:状态," )
|
|
106
|
+
|
103
|
107
|
})
|
104
|
108
|
|
105
|
109
|
// @ApiImplicitParam(paramType = "header", dataTypeClass = String.class, name = "X-Auth-Token", value = "token")
|
106
|
110
|
@RequestMapping(value = "/building/update/status", method = RequestMethod.PUT)
|
107
|
|
- public ResponseBean buildingUpdateStatus(@RequestParam("id")Integer id, HttpSession session){
|
108
|
|
- ResponseBean responseBean = iBuildingService.buildingUpdateStatus(id);
|
|
111
|
+ public ResponseBean buildingUpdateStatus(@RequestBody String parameter, HttpSession session){
|
|
112
|
+ ResponseBean responseBean = iBuildingService.buildingUpdateStatus(parameter);
|
109
|
113
|
return responseBean;
|
110
|
114
|
}
|
111
|
115
|
|