Commit b81ebe6f19a1d8688910a763125cc1dd3d02a151
1 parent
436fef7e
修复 common 下的 test 引入不正确的问题,减少包依赖大小
Showing
4 changed files
with
1 additions
and
17 deletions
yudao-framework/yudao-common/pom.xml
| @@ -137,6 +137,7 @@ | @@ -137,6 +137,7 @@ | ||
| 137 | <dependency> | 137 | <dependency> |
| 138 | <groupId>org.springframework.boot</groupId> | 138 | <groupId>org.springframework.boot</groupId> |
| 139 | <artifactId>spring-boot-starter-test</artifactId> | 139 | <artifactId>spring-boot-starter-test</artifactId> |
| 140 | + <scope>test</scope> | ||
| 140 | </dependency> | 141 | </dependency> |
| 141 | </dependencies> | 142 | </dependencies> |
| 142 | 143 |
yudao-framework/yudao-spring-boot-starter-web/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
| 1 | cn.iocoder.yudao.framework.apilog.config.YudaoApiLogAutoConfiguration | 1 | cn.iocoder.yudao.framework.apilog.config.YudaoApiLogAutoConfiguration |
| 2 | cn.iocoder.yudao.framework.jackson.config.YudaoJacksonAutoConfiguration | 2 | cn.iocoder.yudao.framework.jackson.config.YudaoJacksonAutoConfiguration |
| 3 | -com.github.xiaoymin.knife4j.spring.configuration.Knife4jAutoConfiguration | ||
| 4 | cn.iocoder.yudao.framework.swagger.config.YudaoSwaggerAutoConfiguration | 3 | cn.iocoder.yudao.framework.swagger.config.YudaoSwaggerAutoConfiguration |
| 5 | cn.iocoder.yudao.framework.web.config.YudaoWebAutoConfiguration | 4 | cn.iocoder.yudao.framework.web.config.YudaoWebAutoConfiguration |
| 6 | cn.iocoder.yudao.framework.xss.config.YudaoXssAutoConfiguration | 5 | cn.iocoder.yudao.framework.xss.config.YudaoXssAutoConfiguration |
yudao-module-system/yudao-module-system-api/src/main/java/cn/iocoder/yudao/module/system/api/notify/NotifyMessageSendApi.java
| 1 | package cn.iocoder.yudao.module.system.api.notify; | 1 | package cn.iocoder.yudao.module.system.api.notify; |
| 2 | 2 | ||
| 3 | import cn.iocoder.yudao.module.system.api.notify.dto.NotifySendSingleToUserReqDTO; | 3 | import cn.iocoder.yudao.module.system.api.notify.dto.NotifySendSingleToUserReqDTO; |
| 4 | -import cn.iocoder.yudao.module.system.api.notify.dto.NotifyTemplateReqDTO; | ||
| 5 | 4 | ||
| 6 | import javax.validation.Valid; | 5 | import javax.validation.Valid; |
| 7 | 6 | ||
| @@ -28,8 +27,4 @@ public interface NotifyMessageSendApi { | @@ -28,8 +27,4 @@ public interface NotifyMessageSendApi { | ||
| 28 | */ | 27 | */ |
| 29 | Long sendSingleMessageToMember(@Valid NotifySendSingleToUserReqDTO reqDTO); | 28 | Long sendSingleMessageToMember(@Valid NotifySendSingleToUserReqDTO reqDTO); |
| 30 | 29 | ||
| 31 | - | ||
| 32 | - boolean validateNotifyTemplate(String orderDelivery); | ||
| 33 | - | ||
| 34 | - void createNotifyTemplate(NotifyTemplateReqDTO templateReqDTO); | ||
| 35 | } | 30 | } |
yudao-module-system/yudao-module-system-biz/src/main/java/cn/iocoder/yudao/module/system/api/notify/NotifyMessageSendApiImpl.java
| 1 | package cn.iocoder.yudao.module.system.api.notify; | 1 | package cn.iocoder.yudao.module.system.api.notify; |
| 2 | 2 | ||
| 3 | import cn.iocoder.yudao.module.system.api.notify.dto.NotifySendSingleToUserReqDTO; | 3 | import cn.iocoder.yudao.module.system.api.notify.dto.NotifySendSingleToUserReqDTO; |
| 4 | -import cn.iocoder.yudao.module.system.api.notify.dto.NotifyTemplateReqDTO; | ||
| 5 | import cn.iocoder.yudao.module.system.service.notify.NotifySendService; | 4 | import cn.iocoder.yudao.module.system.service.notify.NotifySendService; |
| 6 | import org.springframework.stereotype.Service; | 5 | import org.springframework.stereotype.Service; |
| 7 | 6 | ||
| @@ -30,14 +29,4 @@ public class NotifyMessageSendApiImpl implements NotifyMessageSendApi { | @@ -30,14 +29,4 @@ public class NotifyMessageSendApiImpl implements NotifyMessageSendApi { | ||
| 30 | reqDTO.getTemplateCode(), reqDTO.getTemplateParams()); | 29 | reqDTO.getTemplateCode(), reqDTO.getTemplateParams()); |
| 31 | } | 30 | } |
| 32 | 31 | ||
| 33 | - @Override | ||
| 34 | - public boolean validateNotifyTemplate(String orderDelivery) { | ||
| 35 | - return false; | ||
| 36 | - } | ||
| 37 | - | ||
| 38 | - @Override | ||
| 39 | - public void createNotifyTemplate(NotifyTemplateReqDTO templateReqDTO) { | ||
| 40 | - | ||
| 41 | - } | ||
| 42 | - | ||
| 43 | } | 32 | } |