|
|
@ -54,6 +54,12 @@ public class BanController { |
|
|
|
return result > 0 ? new ResponseEntity(result, HttpStatus.CREATED) : new ResponseEntity(result * -1, HttpStatus.ACCEPTED); |
|
|
|
} |
|
|
|
|
|
|
|
@RequestMapping(method = RequestMethod.OPTIONS) |
|
|
|
@CheckPermitionFlag(flag = "d") |
|
|
|
public ResponseEntity checkBanPlayer(HttpServletRequest request) { |
|
|
|
return new ResponseEntity(HttpStatus.OK); |
|
|
|
} |
|
|
|
|
|
|
|
@DeleteMapping |
|
|
|
@CheckWebAccess |
|
|
|
@CheckPermitionFlag(flag = "e") |
|
|
|