优化mesh请求

This commit is contained in:
2025-04-16 22:02:53 +08:00
parent 834ce55f26
commit 1a55576e10
2 changed files with 6 additions and 9 deletions

View File

@ -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 参数提取规则