Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
head_group
xyqb-user2
Commits
9cf013d9
Commit
9cf013d9
authored
Feb 09, 2017
by
lee_mingzhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除无用代码
parent
e5906c28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
UserController.java
...ntgroup/xyqb/controller/internal/user/UserController.java
+0
-14
No files found.
src/main/java/cn/quantgroup/xyqb/controller/internal/user/UserController.java
View file @
9cf013d9
...
...
@@ -405,20 +405,6 @@ public class UserController implements IBaseController {
}
String
userName
=
credentialArr
[
0
];
String
pass
=
credentialArr
[
1
];
//判断是否微信登录(openId不为空,认为是微信登录)
/*if(StringUtils.isNotEmpty(openId)) {
WechatUserInfo wechatUserInfo = wechatService.findWechatUserInfoByPhoneNo(userName);
//说明微信用户已经绑定过xyqb用户了
if(wechatUserInfo != null && wechatUserInfo.getUserId() != null && wechatUserInfo.getUserId() != 0L) {
//判断绑定的xyqb用户的手机号是否和本次登录的手机号一致
User xyqbUser = userService.findById(wechatUserInfo.getUserId());
if(!xyqbUser.getPhoneNo().equals(userName)) {
User user = new User();
user.setId(-1L);
return user;
}
}
}*/
User
user
=
userService
.
findByPhoneWithCache
(
userName
);
if
(
user
==
null
)
{
return
null
;
...
...
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