Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center
Commits
b1872743
Commit
b1872743
authored
Apr 22, 2020
by
黄森林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微信注册
parent
9842a787
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
core-service/src/main/java/com/winsun/item/modular/system/controller/LoginPwdController.java
+4
-0
No files found.
core-service/src/main/java/com/winsun/item/modular/system/controller/LoginPwdController.java
View file @
b1872743
...
...
@@ -169,6 +169,7 @@ public class LoginPwdController extends BaseController {
if
(
jsonObject
==
null
)
{
return
ResponseData
.
error
(
"微信授权失效,请重新授权!"
);
}
log
.
info
(
jsonObject
);
Map
<
String
,
Object
>
map
=
JSON
.
parseObject
(
jsonObject
,
Map
.
class
);
String
openId
=
map
.
get
(
"openid"
).
toString
();
Wrapper
<
HhrUser
>
wrapper
=
new
EntityWrapper
<>();
...
...
@@ -230,6 +231,7 @@ public class LoginPwdController extends BaseController {
if
(
jsonObject
==
null
)
{
return
ResponseData
.
error
(
"微信授权失效,请重新授权!"
);
}
log
.
info
(
jsonObject
);
Map
<
String
,
Object
>
map
=
JSON
.
parseObject
(
jsonObject
,
Map
.
class
);
String
openId
=
map
.
get
(
"openid"
).
toString
();
log
.
info
(
"openId:"
+
openId
);
...
...
@@ -290,6 +292,7 @@ public class LoginPwdController extends BaseController {
if
(
jsonObject
==
null
)
{
return
ResponseData
.
error
(
"微信授权失效,请重新授权!"
);
}
log
.
info
(
jsonObject
);
Map
<
String
,
Object
>
map
=
JSON
.
parseObject
(
jsonObject
,
Map
.
class
);
String
openId
=
map
.
get
(
"openid"
).
toString
();
log
.
info
(
"openId:"
+
openId
);
...
...
@@ -304,6 +307,7 @@ public class LoginPwdController extends BaseController {
if
(
jsonObject1
==
null
)
{
return
ResponseData
.
error
(
"微信授权失效,请重新授权!"
);
}
log
.
info
(
jsonObject1
);
Map
<
String
,
Object
>
map1
=
JSON
.
parseObject
(
jsonObject1
,
Map
.
class
);
String
headimgurl
=
map1
.
get
(
"headimgurl"
).
toString
();
SysUser
sysUser
=
users
.
get
(
0
);
...
...
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