Commit 89a22df1 by 罗长华

1、修改Action类的@API注解tags值

parent 54623d88
......@@ -4,9 +4,15 @@ import io.geekidea.springbootplus.framework.core.pagination.Paging;
import io.geekidea.springbootplus.framework.log.annotation.OperationLog;
import io.geekidea.springbootplus.framework.log.enums.OperationLogType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;
......@@ -17,6 +23,7 @@ import com.wecloud.im.param.ImClientBlacklistQueryVo;
import com.wecloud.im.param.add.ImClientBlacklistUpdate;
import com.wecloud.im.service.ImClientBlacklistService;
import com.wecloud.im.ws.model.WsResponse;
import com.wecloud.im.ws.model.request.PushVO;
/**
* ws 黑名单
......@@ -27,7 +34,7 @@ import com.wecloud.im.ws.model.WsResponse;
@Slf4j
@Component
@ActionMapping(value = "/im/blacklist")
@Api(value = "ws-黑名单API", tags = {"黑名单"})
@Api(value = "ws-黑名单API", tags = {"ws-黑名单"})
public class BlacklistAction {
@Autowired
......
......@@ -41,7 +41,7 @@ import com.wecloud.im.ws.model.WsResponse;
@Slf4j
@Component
@ActionMapping("/im/client")
@Api(value = "ws-终端", tags = {"终端"})
@Api(value = "ws-终端", tags = {"ws-终端"})
public class ClientAction {
@Autowired
......
......@@ -42,7 +42,7 @@ import com.wecloud.im.ws.model.WsResponse;
@Slf4j
@Component
@ActionMapping(value = "/im/conversation")
@Api(value = "ws-会话表API", tags = {"会话表"})
@Api(value = "ws-会话表API", tags = {"ws-会话表"})
public class ConversationAction {
@Autowired
......
......@@ -27,7 +27,7 @@ import com.wecloud.im.ws.model.WsResponse;
@Slf4j
@Component
@ActionMapping(value = "/im/conversationMembers")
@Api(value = "ws-会话成员API", tags = {"会话成员"})
@Api(value = "ws-会话成员API", tags = {"ws-会话成员"})
public class ConversationMembersAction {
@Autowired
private ImConversationMembersService imConversationMembersService;
......
......@@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.RequestParam;
@Slf4j
@Component
@ActionMapping(value = "/im/inbox")
@Api(value = "ws-消息收件箱API", tags = {"消息收件箱"})
@Api(value = "ws-消息收件箱API", tags = {"ws-消息收件箱"})
public class InboxAction {
@Autowired
......
......@@ -15,6 +15,7 @@ import com.wecloud.im.ws.model.WsResponse;
import com.wecloud.im.ws.sender.ChannelSender;
import io.geekidea.springbootplus.framework.core.pagination.Paging;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -28,6 +29,7 @@ import org.springframework.stereotype.Component;
@Slf4j
@Component
@ActionMapping(value = "/im/message")
@Api(value = "ws-消息API", tags = {"ws-消息"})
public class MessageAction {
@Autowired
......
......@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestParam;
@Slf4j
@Component
@ActionMapping(value = "/im/multiMeet")
@Api(value = "ws-多人音视频通话", tags = {"多人音视频通话"})
@Api(value = "ws-多人音视频通话", tags = {"ws-多人音视频通话"})
public class MultiMeetAction {
@Autowired
......
......@@ -36,6 +36,7 @@ import io.geekidea.springbootplus.framework.common.api.ApiCode;
import io.geekidea.springbootplus.framework.common.api.ApiResult;
import io.netty.channel.Channel;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
......@@ -56,6 +57,7 @@ import java.util.stream.Collectors;
@Slf4j
@Component
@ActionMapping(value = "/chat")
@Api(value = "ws-普通聊天", tags = {"ws-普通聊天"})
public class NormalChatAction {
@Autowired
......
......@@ -18,7 +18,7 @@ import org.springframework.web.bind.annotation.RequestParam;
@Slf4j
@Component
@ActionMapping(value = "/im/rtc")
@Api(value = "ws-音视频通话", tags = {"音视频通话"})
@Api(value = "ws-音视频通话", tags = {"ws-音视频通话"})
public class RtcAction {
@Autowired
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment