前言关于 okhttp3 的 cookie 自动管理,搜索发现网上大多都是通过 url.host() 来当 key 存进 map 里面,这样使用 cookie 无法对应域名使用。
问题先看一段网上的代码
1234567891011121
2017-11-21