支持自适应请求类型, 根据不同请求类型设置正确Body格式

This commit is contained in:
2025-05-08 15:12:37 +08:00
parent 1abe6c1c29
commit 1403693fda
9 changed files with 203 additions and 30 deletions

View File

@ -41,6 +41,7 @@ type RequestConfigGroupItem struct {
CacheInstance abstract.ICache `json:"-"` // 数据缓存实例
RateLimiter abstract.RateLimiter `json:"-"` // 流控实例
ResponseParser abstract.IResponse `json:"-"` // 响应数据解析
RequestBodyWrite abstract.IRequestBodyWrite `json:"-"` // 请求Body数据写入的实现
Condition any `json:"condition"` // TODO: 请求条件, 特定条件下不执行当前请求
}