调整框架,删除不必要的组件

This commit is contained in:
2025-05-22 18:02:25 +08:00
parent 49a339292b
commit ce2a28e154
6 changed files with 15 additions and 111 deletions

View File

@@ -0,0 +1,2 @@
com.tashow.cloud.tenant.config.TenantRpcAutoConfiguration
com.tashow.cloud.tenant.config.TenantAutoConfiguration

View File

@@ -13,6 +13,7 @@ import com.tashow.cloud.websocket.core.session.WebSocketSessionManagerImpl;
import org.springframework.amqp.core.TopicExchange;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
@@ -29,6 +30,7 @@ import java.util.List;
*
* @author xingyu4j
*/
@AutoConfiguration
@EnableWebSocket // 开启 websocket
@ConditionalOnProperty(prefix = "tashow.websocket", value = "enable", matchIfMissing = true) // 允许使用 yudao.websocket.enable=false 禁用 websocket
@EnableConfigurationProperties(WebSocketProperties.class)