Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Update tp_scenario_action_service.go
Browse files Browse the repository at this point in the history
  • Loading branch information
November-12 committed Sep 27, 2023
1 parent 821be04 commit 697cad6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/tp_scenario_action_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ func (*TpScenarioActionService) ExecuteScenarioAction(scenarioStrategyId string,
} else if scenarioAction.ActionType == "2" {
// 触发其他场景
scenarioLogDetail.ActionType = "2"
scenarioLogDetail.ProcessResult = "1"
instructMap := make(map[string]string)
err := json.Unmarshal([]byte(scenarioAction.Instruct), &instructMap)
if err != nil {
Expand Down Expand Up @@ -204,6 +205,7 @@ func (*TpScenarioActionService) ExecuteScenarioAction(scenarioStrategyId string,
}
} else if scenarioAction.ActionType == "3" {
scenarioLogDetail.ActionType = "3"
scenarioLogDetail.ProcessResult = "1"
instructMap := make(map[string]string)
err := json.Unmarshal([]byte(scenarioAction.Instruct), &instructMap)
if err != nil {
Expand Down

0 comments on commit 697cad6

Please sign in to comment.