Class SelfInfoController

java.lang.Object
io.github.seenings.info.controller.SelfInfoController

@RestController @RequestMapping("/seen/rest-v1/user/self-info") public class SelfInfoController extends Object
用户信息 前端控制器
  • Constructor Details

    • SelfInfoController

      public SelfInfoController()
  • Method Details

    • selfUserIdToMainPhoto

      @PostMapping("self-user-id-to-main-photo") public org.springframework.http.ResponseEntity<io.github.seenings.common.model.R<PhotoUrl>> selfUserIdToMainPhoto(@SessionAttribute Long userId)
    • selfUserIdToMainPagePhoto

      @PostMapping("self-user-id-to-main-page-photo") public io.github.seenings.common.model.R<Map<Integer,Integer>> selfUserIdToMainPagePhoto(@SessionAttribute Long userId)
      顺序对应主页照片ID
      Parameters:
      userId - 用户ID
      Returns:
      结果
    • selfUserIdToEducationAndWork

      @PostMapping("self-user-id-to-education-and-work") public io.github.seenings.common.model.R<io.github.seenings.info.model.EducationAndWork> selfUserIdToEducationAndWork(@SessionAttribute Long userId)
    • selfUserIdToBasicInformation

      @PostMapping("self-user-id-to-basic-information") public io.github.seenings.common.model.R<io.github.seenings.info.model.BasicInformation> selfUserIdToBasicInformation(@SessionAttribute Long userId)
    • selfUserIdToContactInformation

      @PostMapping("self-user-id-to-contact-information") public io.github.seenings.common.model.R<io.github.seenings.info.model.ContactInformation> selfUserIdToContactInformation(@SessionAttribute Long userId)
    • getUserId

      @GetMapping("get-user-id") public io.github.seenings.common.model.R<Long> getUserId(@SessionAttribute Long userId)
    • checkSelf

      @PostMapping("check-self") public io.github.seenings.common.model.R<Boolean> checkSelf(@RequestParam Long pageUserId, @SessionAttribute Long userId)
    • saveBasicInformationAll

      @PostMapping("save-basic-information-all") public io.github.seenings.common.model.R<Boolean> saveBasicInformationAll(@RequestBody BasicInformationAll basicInformationAll, @SessionAttribute Long userId)
    • saveTag

      @PostMapping("save-tag") public io.github.seenings.common.model.R<List<Integer>> saveTag(@RequestBody List<Integer> tagIds, @SessionAttribute Long userId)
    • saveMainPhoto

      @PostMapping("save-main-photo") public io.github.seenings.common.model.R<Boolean> saveMainPhoto(@RequestParam("photoId") Integer photoId, @SessionAttribute Long userId)
    • savePrimaryPhoto

      @PostMapping("save-primary-photo") public org.springframework.http.ResponseEntity<Boolean> savePrimaryPhoto(@RequestBody List<io.github.seenings.introduce.model.OrderAndPhotoId> orderAndPhotoIds, @RequestParam Integer mainPhotoId, @RequestParam Integer max, @RequestParam Integer introduceTypeEnum, @SessionAttribute Long userId)
    • selfUserIdToTagId

      @PostMapping("self-user-id-to-tag-id") public io.github.seenings.common.model.R<List<Integer>> selfUserIdToTagId(@SessionAttribute Long userId)