Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林生雨
gm_flutter
Commits
7f380552
Commit
7f380552
authored
Jul 08, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
w
parent
74f852f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
DioInterceptor.dart
lib/commonModel/net/DioInterceptor.dart
+3
-0
No files found.
lib/commonModel/net/DioInterceptor.dart
View file @
7f380552
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment