Class FriendController
java.lang.Object
io.github.seenings.info.controller.FriendController
@RestController
@RequestMapping("/seen/rest-v1/user/friend")
public class FriendController
extends Object
FriendController
- Since:
- 2023-01-01
- Author:
- chixuehui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.github.seenings.common.model.R<Long> io.github.seenings.common.model.R<Boolean> applyFriend(Long userId, Long appliedUserId) io.github.seenings.common.model.R<Map<Integer, RecApplyContent>> applyIdToRecApplyContent(Set<Integer> applyIds) io.github.seenings.common.model.R<Map<Integer, SendApplyContent>> applyIdToSendApplyContent(Set<Integer> applyIds) io.github.seenings.common.model.R<Integer> io.github.seenings.common.model.R<Boolean> io.github.seenings.common.model.R<Long>
-
Constructor Details
-
FriendController
public FriendController()
-
-
Method Details
-
applyFriend
-
reApply
-
look
-
agree
-
refuse
-
applyIdToSendApplyContent
@PostMapping("apply-id-to-send-apply-content") public io.github.seenings.common.model.R<Map<Integer, SendApplyContent>> applyIdToSendApplyContent(@RequestBody Set<Integer> applyIds) -
applyIdToRecApplyContent
@PostMapping("apply-id-to-rec-apply-content") public io.github.seenings.common.model.R<Map<Integer, RecApplyContent>> applyIdToRecApplyContent(@RequestBody Set<Integer> applyIds)
-