响应解析基于接口实现

This commit is contained in:
2025-05-07 15:48:36 +08:00
parent 088670c7d4
commit 741c9c8ea0
5 changed files with 193 additions and 94 deletions

View File

@ -13,5 +13,6 @@ import (
// RequestOption 请求一些选项
type RequestOption struct {
CacheInstance abstract.ICache `json:"-"` // 数据结果缓存实例
CacheInstance abstract.ICache `json:"-"` // 数据结果缓存实例
ResponseParser abstract.IResponse `json:"-"` // 返回结果解析, 不配置使用内置实现
}