| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | import io.swagger.annotations.*; |
| | | import java.io.IOException; |
| | | import java.util.Arrays; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | /** |
| | |
| | | public ResponseEntity<Object> getAllTaskUser(){ |
| | | return new ResponseEntity<>(taskUserService.getAllTaskUser(SecurityUtils.getCurrentUserId()),HttpStatus.OK); |
| | | } |
| | | |
| | | @GetMapping("/changeStatus") |
| | | public ResponseEntity<Object> changeStatus(String[] changesId){ |
| | | taskUserService.changeStatus(changesId); |
| | | return new ResponseEntity<>(HttpStatus.OK); |
| | | } |
| | | } |