@PatchMapping("/star/card")
    public ResponseEntity<Void> star(@RequestBody String[] cardIds) {
        User userInfo = SecurityUtils.getUserInfo();
        if (userInfo != null) {
            userService.userStarCard(userInfo.getId(), cardIds);
        }
        return ResponseEntity.noContent().build();
    }
star

@param cardIds cardIds
@return Void
src/main/java/com/tuituidan/openhub/controller/UserController.java