diff --git a/youlai-common/common-resourceserver/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/youlai-common/common-resourceserver/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
deleted file mode 100644
index 1054047c2..000000000
--- a/youlai-common/common-resourceserver/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
+++ /dev/null
@@ -1,4 +0,0 @@
-com.youlai.common.security.service.PermissionService
-com.youlai.common.security.config.ResourceServerConfig
-com.youlai.common.security.exception.MyAccessDeniedHandler
-com.youlai.common.security.exception.MyAuthenticationEntryPoint
\ No newline at end of file
diff --git a/youlai-common/common-sms/pom.xml b/youlai-common/common-sms/pom.xml
deleted file mode 100644
index 1806a5fef..000000000
--- a/youlai-common/common-sms/pom.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
- youlai-common
- com.youlai
- 3.0.1
-
- 4.0.0
-
- common-sms
-
-
- 17
- 17
-
-
-
-
- com.youlai
- common-web
- true
-
-
-
- com.youlai
- common-redis
-
-
-
- com.aliyun
- aliyun-java-sdk-core
-
-
-
- com.aliyun
- aliyun-java-sdk-dysmsapi
-
-
-
-
-
-
\ No newline at end of file
diff --git a/youlai-common/common-sms/src/main/java/com/youlai/common/sms/config/AliyunSmsProperties.java b/youlai-common/common-sms/src/main/java/com/youlai/common/sms/config/AliyunSmsProperties.java
deleted file mode 100644
index ab43accd7..000000000
--- a/youlai-common/common-sms/src/main/java/com/youlai/common/sms/config/AliyunSmsProperties.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package com.youlai.common.sms.config;
-
-import lombok.Data;
-import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.context.annotation.Configuration;
-
-/**
- * 阿里云短信配置
- *
- * 配置文件 youlai-common.yml
- *
- * @author haoxr
- * @since 2021/10/13 22:44
- */
-@ConfigurationProperties(prefix = "aliyun.sms")
-@Configuration
-@Data
-public class AliyunSmsProperties {
-
- private String accessKeyId;
-
- private String accessKeySecret;
-
- private String domain;
-
- private String regionId;
-
- private String templateCode;
-
- private String signName;
-
-}
diff --git a/youlai-common/common-sms/src/main/java/com/youlai/common/sms/controller/SmsCodeController.java b/youlai-common/common-sms/src/main/java/com/youlai/common/sms/controller/SmsCodeController.java
deleted file mode 100644
index 641b12cb7..000000000
--- a/youlai-common/common-sms/src/main/java/com/youlai/common/sms/controller/SmsCodeController.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package com.youlai.common.sms.controller;
-
-import com.youlai.common.result.Result;
-import com.youlai.common.sms.service.AliyunSmsService;
-import io.swagger.v3.oas.annotations.Parameter;
-import io.swagger.v3.oas.annotations.tags.Tag;
-import io.swagger.v3.oas.annotations.Operation;
-import lombok.RequiredArgsConstructor;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-
-@Tag(name = "短信验证码")
-@RestController
-@RequestMapping("/sms-code")
-@RequiredArgsConstructor
-public class SmsCodeController {
-
- private final AliyunSmsService aliyunSmsService;
-
- @Operation(summary = "发送短信验证码")
- @PostMapping
- public Result sendSmsCode(
- @Parameter(name = "手机号") String phoneNumber
- ) {
- boolean result = aliyunSmsService.sendSmsCode(phoneNumber);
- return Result.judge(result);
- }
-}
diff --git a/youlai-common/common-sms/src/main/resources/META-INF/spring.factories b/youlai-common/common-sms/src/main/resources/META-INF/spring.factories
deleted file mode 100644
index 68c3964f8..000000000
--- a/youlai-common/common-sms/src/main/resources/META-INF/spring.factories
+++ /dev/null
@@ -1,4 +0,0 @@
-org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
- com.youlai.common.sms.config.AliyunSmsProperties,\
- com.youlai.common.sms.service.AliyunSmsService, \
- com.youlai.common.sms.controller.SmsCodeController
diff --git a/youlai-common/common-web/pom.xml b/youlai-common/common-web/pom.xml
index c3d82a1d5..c0757624b 100644
--- a/youlai-common/common-web/pom.xml
+++ b/youlai-common/common-web/pom.xml
@@ -15,7 +15,7 @@
com.youlai
- common-core
+ common-base
@@ -66,7 +66,7 @@
com.youlai
- common-resourceserver
+ common-security
true
diff --git a/youlai-common/pom.xml b/youlai-common/pom.xml
index c9cf05637..7f765e800 100644
--- a/youlai-common/pom.xml
+++ b/youlai-common/pom.xml
@@ -15,15 +15,13 @@
common-apidoc
- common-core
+ common-base
common-redis
common-web
common-mybatis
common-rabbitmq
common-log
- common-sms
- common-file
- common-resourceserver
+ common-security
common-seata
diff --git a/youlai-system/system-api/pom.xml b/youlai-system/system-api/pom.xml
index 1e1ebadbd..393a5c3ba 100644
--- a/youlai-system/system-api/pom.xml
+++ b/youlai-system/system-api/pom.xml
@@ -15,7 +15,7 @@
com.youlai
- common-core
+ common-base