|  |  | 
 |  |  |     @PostMapping("/create") | 
 |  |  |     @CloudRequiredPermission("business:platformgroup:create") | 
 |  |  |     public ApiResponse create(@RequestBody PlatformGroup platformGroup,@RequestHeader(Constants.HEADER_USER_TOKEN) String token){ | 
 |  |  |         platformGroup.setLoginUserInfo(this.getLoginUser(token)); | 
 |  |  |         return ApiResponse.success(platformGroupService.create(platformGroup)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |     @GetMapping("/delete/{id}") | 
 |  |  |     @CloudRequiredPermission("business:platformgroup:delete") | 
 |  |  |     public ApiResponse deleteById(@PathVariable Integer id,@RequestHeader(Constants.HEADER_USER_TOKEN) String token){ | 
 |  |  |         platformGroupService.deleteById(id); | 
 |  |  |         platformGroupService.deleteById(id,this.getLoginUser(token)); | 
 |  |  |         return ApiResponse.success(null); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |     @GetMapping("/delete/batch") | 
 |  |  |     @CloudRequiredPermission("business:platformgroup:delete") | 
 |  |  |     public ApiResponse deleteByIdInBatch(@RequestParam String ids,@RequestHeader(Constants.HEADER_USER_TOKEN) String token){ | 
 |  |  |         platformGroupService.deleteByIdInBatch(this.getIdList(ids)); | 
 |  |  |         platformGroupService.deleteByIdInBatch(this.getIdList(ids),this.getLoginUser(token)); | 
 |  |  |         return ApiResponse.success(null); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |     @PostMapping("/updateById") | 
 |  |  |     @CloudRequiredPermission("business:platformgroup:update") | 
 |  |  |     public ApiResponse updateById(@RequestBody PlatformGroup platformGroup,@RequestHeader(Constants.HEADER_USER_TOKEN) String token){ | 
 |  |  |         platformGroup.setLoginUserInfo(this.getLoginUser(token)); | 
 |  |  |         platformGroupService.updateById(platformGroup); | 
 |  |  |         return ApiResponse.success(null); | 
 |  |  |     } |