修复cache enable 设置错误问题
This commit is contained in:
parent
3504899a5d
commit
533b948787
@ -234,6 +234,7 @@ func (hc *HttpClient) newResponse() *define.Response {
|
|||||||
UsedTime: 0,
|
UsedTime: 0,
|
||||||
RestyResponse: nil,
|
RestyResponse: nil,
|
||||||
IsSuccess: false,
|
IsSuccess: false,
|
||||||
|
CacheEnable: nil != hc.cacheInstance && hc.cacheInstance.Enable(),
|
||||||
RequestCount: 0,
|
RequestCount: 0,
|
||||||
FailInfo: nil,
|
FailInfo: nil,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user