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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsaveBasicInformationAll(BasicInformationAll basicInformationAll, Long userId) saveMainPhoto(Integer photoId, Long userId) org.springframework.http.ResponseEntity<Boolean> savePrimaryPhoto(List<OrderAndPhotoId> orderAndPhotoIds, Integer mainPhotoId, Integer max, Integer introduceTypeEnum, Long userId) selfUserIdToBasicInformation(Long userId) selfUserIdToContactInformation(Long userId) selfUserIdToEducationAndWork(Long userId) selfUserIdToMainPagePhoto(Long userId) 顺序对应主页照片IDselfUserIdToMainPhoto(Long userId) selfUserIdToTagId(Long userId)
-
Constructor Details
-
SelfInfoController
public SelfInfoController()
-
-
Method Details
-
selfUserIdToMainPhoto
-
selfUserIdToMainPagePhoto
-
selfUserIdToEducationAndWork
@PostMapping("self-user-id-to-education-and-work") public R<EducationAndWork> selfUserIdToEducationAndWork(@SessionAttribute Long userId) -
selfUserIdToBasicInformation
@PostMapping("self-user-id-to-basic-information") public R<BasicInformation> selfUserIdToBasicInformation(@SessionAttribute Long userId) -
selfUserIdToContactInformation
@PostMapping("self-user-id-to-contact-information") public R<ContactInformation> selfUserIdToContactInformation(@SessionAttribute Long userId) -
getUserId
-
checkSelf
-
saveBasicInformationAll
@PostMapping("save-basic-information-all") public R<Boolean> saveBasicInformationAll(@RequestBody BasicInformationAll basicInformationAll, @SessionAttribute Long userId) -
saveTag
-
saveMainPhoto
-
savePrimaryPhoto
-
selfUserIdToTagId
-