Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
1bb64f40
Commit
1bb64f40
authored
Oct 08, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
6bd2c86a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
WeChatH5LoginInterceptor.java
...platform/summit/interceptor/WeChatH5LoginInterceptor.java
+2
-2
No files found.
xx-summit/xx-summit-server/src/main/java/com/xxfc/platform/summit/interceptor/WeChatH5LoginInterceptor.java
View file @
1bb64f40
...
@@ -59,7 +59,7 @@ public class WeChatH5LoginInterceptor extends HandlerInterceptorAdapter {
...
@@ -59,7 +59,7 @@ public class WeChatH5LoginInterceptor extends HandlerInterceptorAdapter {
return
true
;
return
true
;
}
}
String
redisKey
=
redisInfo
(
request
);
String
redisKey
=
redisInfo
(
request
);
Map
<
String
,
Object
>
result
=
new
HashMap
<>
();
JSONObject
result
=
new
JSONObject
();
JSONObject
json
=
new
JSONObject
();
JSONObject
json
=
new
JSONObject
();
if
(
StringUtils
.
isNotBlank
(
redisKey
)){
if
(
StringUtils
.
isNotBlank
(
redisKey
)){
json
.
put
(
"key"
,
redisKey
);
json
.
put
(
"key"
,
redisKey
);
...
@@ -69,7 +69,7 @@ public class WeChatH5LoginInterceptor extends HandlerInterceptorAdapter {
...
@@ -69,7 +69,7 @@ public class WeChatH5LoginInterceptor extends HandlerInterceptorAdapter {
result
.
put
(
"status"
,
1001
);
result
.
put
(
"status"
,
1001
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setContentType
(
"application/json; charset=utf-8"
);
response
.
setContentType
(
"application/json; charset=utf-8"
);
response
.
getWriter
().
write
(
result
.
toString
());
response
.
getWriter
().
append
(
result
.
toString
());
return
false
;
return
false
;
}
}
return
true
;
return
true
;
...
...
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