Class UserAuthController

java.lang.Object
io.github.seenings.info.controller.UserAuthController
All Implemented Interfaces:
io.github.seenings.info.http.HttpUserAuthService

@RestController @RequestMapping("seen/feign-v1/user/user-auth") public class UserAuthController extends Object implements io.github.seenings.info.http.HttpUserAuthService
UserAuthController
Since:
2022-10-16
Author:
chixuehui
  • Constructor Details

    • UserAuthController

      public UserAuthController()
  • Method Details

    • userIdToUserAuth

      @PostMapping("user-id-to-user-auth") public Map<Long,Integer> userIdToUserAuth(@RequestBody Set<Long> userIds)
      Specified by:
      userIdToUserAuth in interface io.github.seenings.info.http.HttpUserAuthService
    • set

      @PostMapping("set") public boolean set(@RequestParam("userId") Long userId, @RequestParam("authStatus") Integer authStatus)
      Specified by:
      set in interface io.github.seenings.info.http.HttpUserAuthService