Commit 7f380552 authored by 林生雨's avatar 林生雨

w

parent 74f852f2
......@@ -27,7 +27,10 @@ class DioInterceptorManager {
if (opt.headers == null) {
opt.headers = Map();
}
print("INTERCEPTOR");
if (CacheManager.getInstance().get(MEMORY_CACHE).get(COOKIE) != null) {
print(
"INTERCEPTOR 11 ${CacheManager.getInstance().get(MEMORY_CACHE).get(COOKIE)}");
opt.headers[HttpHeaders.cookieHeader] =
CacheManager.getInstance().get(MEMORY_CACHE).get(COOKIE);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment