package cn.bunny.services.controller; import cn.bunny.dao.pojo.result.Result; import cn.bunny.dao.vo.system.message.MessageReceivedWithUserVo; import cn.bunny.services.service.MessageReceivedService; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import reactor.core.publisher.Mono; import java.util.List; /** *

* 前端控制器 *

* * @author Bunny * @since 2024-10-31 */ @Tag(name = "消息接受关系", description = "消息接受关系相关接口") @RestController @RequestMapping("/admin/messageReceived") public class MessageReceivedController { @Autowired private MessageReceivedService messageReceivedService; @Operation(summary = "根据消息id获取接收人信息", description = "根据消息id获取接收人信息") @GetMapping("noManage/getReceivedUserinfoByMessageId") public Mono>> getReceivedUserinfoByMessageId(Long messageId) { List voList = messageReceivedService.getReceivedUserinfoByMessageId(messageId); return Mono.just(Result.success(voList)); } }