This commit is contained in:
weizhihong 2022-07-27 15:28:38 +08:00
commit 06e8e2d5ac

View File

@ -168,7 +168,7 @@ public class ScriptExecuteService {
if (!passGeneralCheck(simulation, script, member, ScriptActionBO.ActionType.Conversation)) {
return;
}
if (StrUtils.isMatch(action.getContent(), message.getContent(), 60)) {
if (StrUtils.isMatch(action.getContent(), message.getContent(), 20)) {
message.setContent(action.getContent());
}
}
@ -180,7 +180,7 @@ public class ScriptExecuteService {
return;
}
ScriptActionBO action = script.getNextNeedPassAction();
if (!StrUtils.isMatch(action.getContent(), message.getContent(), 60)) {
if (!StrUtils.isMatch(action.getContent(), message.getContent(), 20)) {
applicationContext.publishEvent(new SimulationScriptActionErrorEvent(this, simulation, action));
if (Objects.equals(script.getMode(), ScriptBO.Mode.TEST_MODE)) {
for (ConversationMember conversationMember : conversation.getMemberList()) {