|
|
|
@ -517,7 +517,15 @@ public class MyController extends BaseController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 删除账号
|
|
|
|
|
userInfoService.deleteById(userId);
|
|
|
|
|
UserInfo userInfo = userInfoService.findById(userId);
|
|
|
|
|
userInfo.setMobile("已注销");
|
|
|
|
|
userInfo.setAvatar(Constants.DEFAULT_USER_AVATAR);
|
|
|
|
|
userInfo.setWxId("");
|
|
|
|
|
userInfo.setAppleId("");
|
|
|
|
|
userInfo.setAppleEmail("");
|
|
|
|
|
userInfo.setWxNickname("");
|
|
|
|
|
userInfoService.update(userInfo);
|
|
|
|
|
// userInfoService.deleteById(userId);
|
|
|
|
|
return Result.success();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|