|  |  | 
 |  |  |     @GetMapping("/detail") | 
 |  |  |     public ApiResponse<Workorder> detail (@RequestParam Integer id, @RequestHeader(JwtTokenUtil.HEADER_KEY) String token) { | 
 |  |  |         try { | 
 |  |  |  | 
 |  |  |             return ApiResponse.success(workorderService.getDetail(id,jwtTokenUtil.getUserInfoByToken(token))); | 
 |  |  |         }catch (BusinessException e){ | 
 |  |  |             return ApiResponse.failed(e.getCode(),e.getMessage()); | 
 |  |  | 
 |  |  |     @PostMapping("/passOn") | 
 |  |  |     public ApiResponse passOn(@RequestBody PassOnDTO passOnDTO, @RequestHeader(JwtTokenUtil.HEADER_KEY) String token) { | 
 |  |  |         try { | 
 |  |  |  | 
 |  |  |             passOnDTO.setMember(jwtTokenUtil.getUserInfoByToken(token)); | 
 |  |  |             workorderService.passOn(passOnDTO); | 
 |  |  |             return ApiResponse.success("操作成功"); | 
 |  |  | 
 |  |  |     @LoginRequired | 
 |  |  |     @ApiOperation("工单抄送") | 
 |  |  |     @PostMapping("/sendCopy") | 
 |  |  |     public ApiResponse sendCopy(@RequestParam SendCopyDTO sendCopyDTO, @RequestHeader(JwtTokenUtil.HEADER_KEY) String token) { | 
 |  |  |     public ApiResponse sendCopy(@RequestBody SendCopyDTO sendCopyDTO, @RequestHeader(JwtTokenUtil.HEADER_KEY) String token) { | 
 |  |  |         try { | 
 |  |  |  | 
 |  |  |             sendCopyDTO.setMember(jwtTokenUtil.getUserInfoByToken(token)); | 
 |  |  |             workorderService.sendCopy(sendCopyDTO); | 
 |  |  |             return ApiResponse.success("操作成功"); |