|
@@ -11,6 +11,8 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.io.IOException;
|
|
|
+
|
|
|
/**
|
|
|
*房间管理
|
|
|
*/
|
|
@@ -54,7 +56,7 @@ public class RoomController extends BaseController{
|
|
|
* 删除房间
|
|
|
*/
|
|
|
@PostMapping("/roomDelete")
|
|
|
- public ResultData roomDelete(@RequestBody RoomAddParam param){
|
|
|
+ public ResultData roomDelete(@RequestBody RoomAddParam param) {
|
|
|
if(param.getRoomId() == null){
|
|
|
throw new BusinessException(ResultCode.PARAM_MISS);
|
|
|
}
|