时间返回增加类型

This commit is contained in:
wulin 2023-11-20 09:24:00 +08:00
parent f3d66a7879
commit a5f11c1bde
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@ import lombok.Data;
@Data
public class DateTimeResp {
/**
* 时间类型
*/
Integer type;
/**
*
*/

View File

@ -61,7 +61,7 @@ public class TimeActionCommand extends ActionCommand implements IActionCommand{
dateTimeResp.setMinute(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getMinute()));
dateTimeResp.setSecond(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getSecond()));
dateTimeResp.setWeak(String.valueOf(action.getTime().getDetailTime().getLocalDateTime().getDayOfWeek().getValue()));
dateTimeResp.setType(action.getSystemTalkAnswerConfigEntity().getActionStatus());
BoxMessageResp resp = new BoxMessageResp();
resp.setType(action.getSystemTalkAnswerConfigEntity().getAnswerType());
if(baseSession.getLanguage().equals(LanguageEnum.CHINESE.getCode())){