Commit b81ebe6f19a1d8688910a763125cc1dd3d02a151
1 parent
436fef7e
修复 common 下的 test 引入不正确的问题,减少包依赖大小
Showing
4 changed files
with
1 additions
and
17 deletions
yudao-framework/yudao-common/pom.xml
yudao-framework/yudao-spring-boot-starter-web/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
| 1 | 1 | cn.iocoder.yudao.framework.apilog.config.YudaoApiLogAutoConfiguration |
| 2 | 2 | cn.iocoder.yudao.framework.jackson.config.YudaoJacksonAutoConfiguration |
| 3 | -com.github.xiaoymin.knife4j.spring.configuration.Knife4jAutoConfiguration | |
| 4 | 3 | cn.iocoder.yudao.framework.swagger.config.YudaoSwaggerAutoConfiguration |
| 5 | 4 | cn.iocoder.yudao.framework.web.config.YudaoWebAutoConfiguration |
| 6 | 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 | 1 | package cn.iocoder.yudao.module.system.api.notify; |
| 2 | 2 | |
| 3 | 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 | 5 | import javax.validation.Valid; |
| 7 | 6 | |
| ... | ... | @@ -28,8 +27,4 @@ public interface NotifyMessageSendApi { |
| 28 | 27 | */ |
| 29 | 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 | 1 | package cn.iocoder.yudao.module.system.api.notify; |
| 2 | 2 | |
| 3 | 3 | import cn.iocoder.yudao.module.system.api.notify.dto.NotifySendSingleToUserReqDTO; |
| 4 | -import cn.iocoder.yudao.module.system.api.notify.dto.NotifyTemplateReqDTO; | |
| 5 | 4 | import cn.iocoder.yudao.module.system.service.notify.NotifySendService; |
| 6 | 5 | import org.springframework.stereotype.Service; |
| 7 | 6 | |
| ... | ... | @@ -30,14 +29,4 @@ public class NotifyMessageSendApiImpl implements NotifyMessageSendApi { |
| 30 | 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 | } | ... | ... |