|
@@ -127,7 +127,7 @@ public class RoomController extends BaseController{
|
|
@GetMapping("/checkRoomVisitPassword")
|
|
@GetMapping("/checkRoomVisitPassword")
|
|
public ResultData checkRoomVisitPassword(@RequestParam(required = false) String roomId,
|
|
public ResultData checkRoomVisitPassword(@RequestParam(required = false) String roomId,
|
|
@RequestParam(required = false) String password){
|
|
@RequestParam(required = false) String password){
|
|
- if(roomId == null){
|
|
|
|
|
|
+ if(StringUtils.isBlank(roomId) || StringUtils.isBlank(password)){
|
|
throw new BusinessException(ResultCode.PARAM_MISS);
|
|
throw new BusinessException(ResultCode.PARAM_MISS);
|
|
}
|
|
}
|
|
if(roomId.contains("_")){
|
|
if(roomId.contains("_")){
|