|
|
|
@ -119,6 +119,8 @@ public class MyController extends BaseController {
|
|
|
|
|
userRespDTO.setMobile(user.getMobile());
|
|
|
|
|
userRespDTO.setWxId(user.getWxId());
|
|
|
|
|
userRespDTO.setAppleId(user.getAppleId());
|
|
|
|
|
userRespDTO.setWxNickname(user.getWxNickname());
|
|
|
|
|
userRespDTO.setAppleEmail(user.getAppleEmail());
|
|
|
|
|
return Result.success(userRespDTO);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -499,6 +501,7 @@ public class MyController extends BaseController {
|
|
|
|
|
// 如果绑定的手机号已存在
|
|
|
|
|
// userInfo1.setMobile(loginReq.getMobile());
|
|
|
|
|
userInfo1.setAppleId(userInfo2.getAppleId());
|
|
|
|
|
userInfo1.setAppleEmail(userInfo2.getAppleEmail());
|
|
|
|
|
userInfoService.update(userInfo1);
|
|
|
|
|
String token = userInfoService.loginOrRegister(userInfo1);
|
|
|
|
|
userInfoService.deleteById(userId);
|
|
|
|
|