Commit ec2f8552 authored by gary's avatar gary

1、fixbug

parent 11c586d3
......@@ -512,7 +512,7 @@ public class UserServiceImpl extends AbstractService {
String userId="";
DDUserInfo userInfo = ddUserInfoRes.getDdUserInfo();
String userName = userInfo.getUsername_zh()==null?input.getEmail():userInfo.getUsername();
String userName = userInfo.getUsername()==null?input.getEmail():userInfo.getUsername();
User user = userMapper.selectByUserName(userName);
userId = user.getId();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment