修复cache enable 设置错误问题

This commit is contained in:
zhangdeman committed 2024-06-14 22:20:20 +08:00
1 parent 3504899a5d
commit 533b948787
1 file changed
+1
+1
View File
@@ -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,
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.