...
|
...
|
@@ -63,7 +63,7 @@ public class OpenIdController { |
|
|
if (user == null) {//用户,密码错误
|
|
|
return new ResponseEntity<>(ResultModel.error(ResultStatus.USERNAME_OR_PASSWORD_ERROR), HttpStatus.OK);
|
|
|
} else {
|
|
|
xklMemberOpenidRespository.deleteByOpenid(openId);
|
|
|
xklMemberOpenidRespository.deleteByOpenidAndType(openId,type);
|
|
|
XklMemberOpenidEntity xklMemberOpenid = xklMemberOpenidRespository.findByAccountIdAndType(user.getId(), openIdType);
|
|
|
if (xklMemberOpenid == null) {
|
|
|
xklMemberOpenid = new XklMemberOpenidEntity();
|
...
|
...
|
|