|
@@ -22,7 +22,7 @@ public class TakeLookController {
|
|
|
/**
|
|
|
* 全部房间列表
|
|
|
*/
|
|
|
- @PostMapping("roomList")
|
|
|
+ @PostMapping("/roomList")
|
|
|
public Object list(@RequestBody TakeLookParam param){
|
|
|
TakeLookResponse takeLookResponse = takeLookClient.roomList(param);
|
|
|
if(takeLookResponse.getCode() != 0){
|
|
@@ -33,7 +33,7 @@ public class TakeLookController {
|
|
|
/**
|
|
|
* 修改显示状态
|
|
|
*/
|
|
|
- @PostMapping("updateRoomShow")
|
|
|
+ @PostMapping("/updateRoomShow")
|
|
|
public ResultData updateRoomShow(@RequestBody TakeLookParam param){
|
|
|
TakeLookResponse takeLookResponse = takeLookClient.updateRoomShow(param);
|
|
|
if(takeLookResponse.getCode() != 0){
|
|
@@ -44,7 +44,7 @@ public class TakeLookController {
|
|
|
/**
|
|
|
* 删除
|
|
|
*/
|
|
|
- @PostMapping("deleteRoom")
|
|
|
+ @PostMapping("/deleteRoom")
|
|
|
public ResultData deleteRoom(@RequestBody TakeLookParam param){
|
|
|
TakeLookResponse takeLookResponse =takeLookClient.deleteRoom(param);
|
|
|
if(takeLookResponse.getCode() != 0){
|