作者 王勇

简单完善vue界面发送信息

... ... @@ -37,7 +37,6 @@ public class MessageNote implements Serializable {
/**
* 用户的ID
*/
@Field(type = FieldType.Text)
private String userId;
/**
... ...
... ... @@ -240,9 +240,6 @@ public class MessageNoteServiceImpl implements MessageNoteService {
public int validateNoteAndFill(MessageNote messageNote) throws Exception
{
if (validateNote(messageNote)) {
// 填充,用户名称
UserInfo userInfo = userInfoService.selectByPrimaryKey(messageNote.getUserId());
messageNote.setUsername(userInfo.getUsername());
// 填充,服务器名称
BusServer busServer = busServerService.selectByPrimaryKey(messageNote.getServerId());
messageNote.setServerName(busServer.getServerName());
... ... @@ -251,7 +248,6 @@ public class MessageNoteServiceImpl implements MessageNoteService {
// 发送到MQ服务器
XmlData xmlData = XmlData.builder()
.sender(note.getUsername())
.password(userInfo.getPassword())
.sendContent(note.getAlias_sendContent())
.sendDateTime(note.getSendTime())
.exchangeName(note.getExchangeName())
... ...