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
c393f4a5
Commit
c393f4a5
authored
Oct 11, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_activity' into base-modify
parents
eec83c9e
c4f966ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
WeixinController.java
...com/xxfc/platform/summit/controller/WeixinController.java
+2
-6
No files found.
xx-summit/xx-summit-server/src/main/java/com/xxfc/platform/summit/controller/WeixinController.java
View file @
c393f4a5
...
...
@@ -42,21 +42,17 @@ public class WeixinController {
@Value
(
"${wx.url}"
)
private
String
url
;
@Value
(
"${wx.domainUrl}"
)
private
String
domainUrl
;
;
@RequestMapping
(
value
=
"/app/unauth/wxLogin"
,
method
=
RequestMethod
.
GET
)
@IgnoreUserToken
public
String
wxLogin
(
@RequestParam
(
value
=
"callback"
,
defaultValue
=
""
)
String
redirec_url
,
HttpServletRequest
request
){
public
String
wxLogin
(
@RequestParam
(
value
=
"callback"
,
defaultValue
=
""
)
String
redirec_url
){
if
(
StringUtils
.
isBlank
(
redirec_url
)){
redirec_url
=
""
;
}
redirec_url
=
domainUrl
+
"/"
+
redirec_url
;
log
.
info
(
"-----微信wxLogin---redirec_url=="
+
redirec_url
);
try
{
String
encrypt_curr_url
=
Base64
.
encode
(
redirec_url
.
getBytes
(
"utf-8"
));
...
...
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