Просмотр исходного кода

Move StopExecution params to body.

sdk-team 6 лет назад
Родитель
Сommit
33b2cd676e
2 измененных файлов с 7 добавлено и 4 удалено
  1. 3 0
      ChangeLog.txt
  2. 4 4
      services/fnf/stop_execution.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-08-29 Version: 1.60.126
+- Move StopExecution params to body.
+
 2019-08-29 Version: 1.60.125
 - Bugfix.
 

+ 4 - 4
services/fnf/stop_execution.go

@@ -76,11 +76,11 @@ func (client *Client) StopExecutionWithCallback(request *StopExecutionRequest, c
 // StopExecutionRequest is the request struct for api StopExecution
 type StopExecutionRequest struct {
 	*requests.RpcRequest
-	ExecutionName string `position:"Query" name:"ExecutionName"`
+	ExecutionName string `position:"Body" name:"ExecutionName"`
 	RequestId     string `position:"Query" name:"RequestId"`
-	Cause         string `position:"Query" name:"Cause"`
-	FlowName      string `position:"Query" name:"FlowName"`
-	Error         string `position:"Query" name:"Error"`
+	Cause         string `position:"Body" name:"Cause"`
+	FlowName      string `position:"Body" name:"FlowName"`
+	Error         string `position:"Body" name:"Error"`
 }
 
 // StopExecutionResponse is the response struct for api StopExecution