fix openId bug

This commit is contained in:
zlt
2019-04-15 20:49:23 +08:00
parent b231009a59
commit 2e3a030835
@@ -127,7 +127,7 @@ public class SysUserServiceImpl extends SuperServiceImpl<SysUserMapper, SysUser>
@Override
public SysUser selectByOpenId(String openId) {
List<SysUser> users = baseMapper.selectList(
new QueryWrapper<SysUser>().eq("openId", openId)
new QueryWrapper<SysUser>().eq("open_id", openId)
);
return getUser(users);
}