diff --git a/client.go b/client.go index 2485002..d5b62d5 100644 --- a/client.go +++ b/client.go @@ -234,6 +234,7 @@ func (hc *HttpClient) newResponse() *define.Response { UsedTime: 0, RestyResponse: nil, IsSuccess: false, + CacheEnable: nil != hc.cacheInstance && hc.cacheInstance.Enable(), RequestCount: 0, FailInfo: nil, }