|  |  | 
 |  |  | import javax.servlet.http.HttpServletRequest;
 | 
 |  |  | 
 | 
 |  |  | import org.springframework.web.bind.annotation.GetMapping;
 | 
 |  |  | import org.springframework.web.bind.annotation.PathVariable;
 | 
 |  |  | import org.springframework.web.bind.annotation.PostMapping;
 | 
 |  |  | import org.springframework.web.bind.annotation.RequestBody;
 | 
 |  |  | import org.springframework.web.bind.annotation.RequestMapping;
 | 
 |  |  | 
 |  |  |        Integer result = accountService.deleteAccountsByLogic(ids);
 | 
 |  |  |        return new ResultBean<Integer>(result);
 | 
 |  |  |     }
 | 
 |  |  | 
 | 
 |  |  |     @GetMapping("{accountName}")
 | 
 |  |  |     public ResultBean<Integer> getAccountCountByAccountName(@PathVariable("accountName") String accountName) {
 | 
 |  |  |        Integer result = accountService.getAccountCountByAccountName(accountName);
 | 
 |  |  |         return new ResultBean<Integer>(result);
 | 
 |  |  |     }
 | 
 |  |  | }
 |