优化mesh请求
This commit is contained in:
@ -48,8 +48,7 @@ type RequestConfigGroupItem struct {
|
||||
//
|
||||
// Date : 15:51 2025/3/28
|
||||
type RequestConfigGroupItemFailBehavior struct {
|
||||
Action string `json:"action"` // 请求失败的行为: continue: 继续执行下一个请求, break: 停止执行后续请求
|
||||
FinalFailure bool `json:"final_failure"` // 是否作为最终失败: action = break时, 无论外部是什么值, 永远为true, 当 action = continue时, 该值由外部传入, 原因: 当前接口失败, 可能还需要调用一些后续接口做些逻辑.
|
||||
Action string `json:"action"` // 请求失败的行为: continue: 继续执行下一个请求, error: 停止执行后续请求, 并且整体请求失败
|
||||
}
|
||||
|
||||
// RequestConfigGroupItemParamRule 参数提取规则
|
||||
|
Reference in New Issue
Block a user