修改测试反馈
This commit is contained in:
parent
0034eb6767
commit
49f4538e5b
@ -64,7 +64,7 @@ public class TimeActionCommand extends ActionCommand implements IActionCommand{
|
||||
|
||||
resp.setText(action.getAsk().replaceAll(action.getAction(), getDayOfWeek(action.getTime().getDetailTime().getLocalDateTime().format(df))));
|
||||
resp.setTime(dateTimeResp);
|
||||
return baseWebSocketService.send .Message(
|
||||
return baseWebSocketService.sendMessage(
|
||||
action,
|
||||
baseSession,
|
||||
resp);
|
||||
|
||||
@ -157,7 +157,7 @@ public class BoxWebSocketHandler implements WebSocketHandler {
|
||||
return baseWebSocketService.closeSendMsg(boxSession, "设备信息不全", AskTypeEnum.TIME.getCode());
|
||||
}
|
||||
log.info("收到SN:{},消息:{}", boxTalkMessage.getSn(), boxTalkMessage.getMessage());
|
||||
if(boxTalkMessage.getType().equals(YesNo.NO.getCode())){
|
||||
if(YesNo.NO.getCode().equals(boxTalkMessage.getType())){
|
||||
if(StringUtils.isEmpty(boxTalkMessage.getMessage())){
|
||||
log.info("收到空字符串,不处理,请求编号+1");
|
||||
boxSession.setRequestId(boxSession.getRequestId() + 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user