【新增】 rabbitmq手动连接,推送数据,接收数据并保存在数据库内
This commit is contained in:
@@ -20,6 +20,8 @@ public interface TenantConvert {
|
||||
reqVO.setUsername(bean.getUsername());
|
||||
reqVO.setPassword(bean.getPassword());
|
||||
reqVO.setNickname(bean.getContactName()).setMobile(bean.getContactMobile());
|
||||
// 租户创建的用户,默认是管理员用户
|
||||
reqVO.setUserType("0");
|
||||
return reqVO;
|
||||
}
|
||||
|
||||
|
@@ -4,6 +4,8 @@ import pc.exam.pp.framework.common.core.KeyValue;
|
||||
import lombok.Data;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -12,9 +14,10 @@ import java.util.List;
|
||||
* @author 芋道源码
|
||||
*/
|
||||
@Data
|
||||
public class SmsSendMessage {
|
||||
public class SmsSendMessage implements Serializable {
|
||||
|
||||
public static final String QUEUE = "SEND_MESSAGE_QUEUE"; // 重点:需要增加消息对应的 Queue
|
||||
// 重点:需要增加消息对应的 Queue
|
||||
public static final String QUEUE = "SEND_MESSAGE_QUEUE";
|
||||
|
||||
/**
|
||||
* 短信日志编号
|
||||
|
Reference in New Issue
Block a user