Class ThumbUserController

java.lang.Object
io.github.seenings.thumb.controller.ThumbUserController
All Implemented Interfaces:
io.github.seenings.thumb.http.HttpThumbUserService

@RestController public class ThumbUserController extends Object implements io.github.seenings.thumb.http.HttpThumbUserService
ThumbUserController
Since:
2023-01-23
Author:
chixuehui
  • Constructor Details

    • ThumbUserController

      public ThumbUserController()
  • Method Details

    • thumbedUserIdToTrue

      public Map<Long,Boolean> thumbedUserIdToTrue(@RequestBody Set<Long> thumbedUserIds, @RequestParam("thumbUserId") Long thumbUserId)
      根据被点赞者获取是否关注
      Specified by:
      thumbedUserIdToTrue in interface io.github.seenings.thumb.http.HttpThumbUserService
      Parameters:
      thumbedUserIds - 被点赞者
      thumbUserId - 点赞者
      Returns:
      被点赞者对应是否点赞
    • set

      public boolean set(@RequestParam("thumbedUserId") Long thumbedUserId, @RequestParam("thumbUserId") Long thumbUserId)
      Specified by:
      set in interface io.github.seenings.thumb.http.HttpThumbUserService