|
@@ -194,7 +194,7 @@ public class AdminAuthServiceImpl implements AdminAuthService {
|
|
|
@Override
|
|
|
public String socialLogin(AuthSocialLoginReqVO reqVO, String userIp, String userAgent) {
|
|
|
// 使用 code 授权码,进行登录。然后,获得到绑定的用户编号
|
|
|
- Long userId = socialUserService.getBindUserId(UserTypeEnum.MEMBER.getValue(), reqVO.getType(),
|
|
|
+ Long userId = socialUserService.getBindUserId(UserTypeEnum.ADMIN.getValue(), reqVO.getType(),
|
|
|
reqVO.getCode(), reqVO.getState());
|
|
|
if (userId == null) {
|
|
|
throw exception(AUTH_THIRD_LOGIN_NOT_BIND);
|