Browse Source

调整一下EmailEntity实体类的位置

niantuo 6 years ago
parent
commit
1452f760db

+ 2 - 0
cloud-bus/src/main/java/cn/gygxzc/envir/email/IEmailSender.java

@@ -1,5 +1,7 @@
 package cn.gygxzc.envir.email;
 
+import cn.gygxzc.envir.core.entity.MailEntity;
+
 /**
  * 定义邮件发送的Email MQ实现
  * @author tuonina

+ 1 - 0
cloud-bus/src/main/java/cn/gygxzc/envir/email/IFeignMailSender.java

@@ -1,5 +1,6 @@
 package cn.gygxzc.envir.email;
 
+import cn.gygxzc.envir.core.entity.MailEntity;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;

+ 1 - 1
cloud-bus/src/main/java/cn/gygxzc/envir/email/impl/EmailSenderImpl.java

@@ -2,7 +2,7 @@ package cn.gygxzc.envir.email.impl;
 
 import cn.gygxzc.envir.QueueName;
 import cn.gygxzc.envir.email.IEmailSender;
-import cn.gygxzc.envir.email.MailEntity;
+import cn.gygxzc.envir.core.entity.MailEntity;
 import org.springframework.amqp.core.AmqpTemplate;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;

+ 1 - 1
cloud-bus/src/main/java/cn/gygxzc/envir/email/MailEntity.java → zen-core/src/main/java/cn/gygxzc/envir/core/entity/MailEntity.java

@@ -1,4 +1,4 @@
-package cn.gygxzc.envir.email;
+package cn.gygxzc.envir.core.entity;
 
 import com.baomidou.mybatisplus.core.toolkit.IdWorker;
 import org.springframework.util.StringUtils;