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
7ca25e28
Commit
7ca25e28
authored
Oct 11, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
27e7fb9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
UserBiz.java
...r/src/main/java/com/xxfc/platform/summit/biz/UserBiz.java
+4
-4
No files found.
xx-summit/xx-summit-server/src/main/java/com/xxfc/platform/summit/biz/UserBiz.java
View file @
7ca25e28
...
@@ -97,7 +97,7 @@ public class UserBiz extends BaseBiz<UserMapper, User> {
...
@@ -97,7 +97,7 @@ public class UserBiz extends BaseBiz<UserMapper, User> {
log
.
info
(
"----code为空---"
);
log
.
info
(
"----code为空---"
);
throw
new
BaseException
(
ResultCode
.
FAILED_CODE
,
Sets
.
newSet
(
"code为空"
));
throw
new
BaseException
(
ResultCode
.
FAILED_CODE
,
Sets
.
newSet
(
"code为空"
));
}
}
String
openid
=
"o
he-C0vTEyivU7MK4BKEiDq0UdW4
"
;
String
openid
=
"o
XDd91N8Rwijd3gscAND9TO77a2I
"
;
/*String access_token = null;
/*String access_token = null;
try {
try {
JSONObject jsonData = weixinService.getAccessToken(code);
JSONObject jsonData = weixinService.getAccessToken(code);
...
@@ -136,9 +136,9 @@ public class UserBiz extends BaseBiz<UserMapper, User> {
...
@@ -136,9 +136,9 @@ public class UserBiz extends BaseBiz<UserMapper, User> {
throw
new
BaseException
(
ResultCode
.
FAILED_CODE
,
Sets
.
newSet
(
"redis的报名信息activityId---为空"
));
throw
new
BaseException
(
ResultCode
.
FAILED_CODE
,
Sets
.
newSet
(
"redis的报名信息activityId---为空"
));
}
}
User
userInfo
=
new
User
();
User
userInfo
=
new
User
();
String
nickName
=
"
何振
"
;
//userinfo_json.getString("nickname");
String
nickName
=
"
小雨
"
;
//userinfo_json.getString("nickname");
String
headimgurl
=
"http://thirdwx.qlogo.cn/mmopen/
vi_32/X2WxAZeZlhME5RtHKA3iadPA1yGq084s59Sl0Dzana0QInaceROnto82zyNBGdQaiaQZCdBaHsjtdM0Zkob4PXMA
/132"
;
//userinfo_json.getString("headimgurl");
String
headimgurl
=
"http://thirdwx.qlogo.cn/mmopen/
4eFHvhmOX6XuiaG6ib7wxkLa8AwMLFIbW9BSJ7EmwC3kRMUdgCrobdRUbhjMXbkY7aBc2CazjXFJiap5ianMH6yQnH2UQ4TfkXJw
/132"
;
//userinfo_json.getString("headimgurl");
String
sex
=
null
;
//userinfo_json.getString("sex");
String
sex
=
"2"
;
//userinfo_json.getString("sex");
if
(
StringUtils
.
isBlank
(
sex
)){
if
(
StringUtils
.
isBlank
(
sex
)){
sex
=
"0"
;
sex
=
"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