竞赛场景暂时走小程序逻辑、操作类动作直接完成(为了测试)

This commit is contained in:
joylink_zhangsai 2021-04-29 16:46:02 +08:00
parent 38ce09edf8
commit e966d6360c

View File

@ -96,7 +96,8 @@ public class CompetitionAndScriptManager {
unfinishedAction.setContent(String.format(content, currentTime));
}
// TODO: 2021/4/29 为方便测试
if (!ScriptActionBO.ActionType.Conversation.equals(unfinishedAction.getType())) {
if (ScriptActionBO.ActionType.Operation.equals(unfinishedAction.getType())
|| ScriptActionBO.ActionType.Drive.equals(unfinishedAction.getType())) {
if (competition != null && competition.isWeChat()) {
unfinishedAction.finish();
return;