修改授权绑定bug
This commit is contained in:
parent
a3aafaf552
commit
7fac900ba1
|
|
@ -402,7 +402,9 @@ public class UserServiceImpl implements IUserService {
|
|||
// 该微信已绑定
|
||||
throw new OperateException("该微信已绑定");
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
// 记录微信授权
|
||||
UserAuth authModel = new UserAuth();
|
||||
authModel.setUserId(userId);
|
||||
authModel.setUnionid(unionId);
|
||||
|
|
@ -412,6 +414,5 @@ public class UserServiceImpl implements IUserService {
|
|||
authModel.setUpdateTime(System.currentTimeMillis() / 1000);
|
||||
userAuthMapper.insert(authModel);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue