From 1b5e6a90dec83b8e293134d550a161eae1e9f960 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Wed, 17 Nov 2021 10:37:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/cweb/controller/WechatController.java | 1 + .../src/main/java/com/hai/service/impl/HighUserServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hai-cweb/src/main/java/com/cweb/controller/WechatController.java b/hai-cweb/src/main/java/com/cweb/controller/WechatController.java index fe2b16c4..e61fe8a3 100644 --- a/hai-cweb/src/main/java/com/cweb/controller/WechatController.java +++ b/hai-cweb/src/main/java/com/cweb/controller/WechatController.java @@ -155,6 +155,7 @@ public class WechatController { throw ErrorHelp.genException(SysCode.MiniProgram, ErrorCode.COMMON_ERROR, "手机号已被绑定,请更换后重新授权"); } user.setPhone(phoneNoInfo.getPurePhoneNumber()); + highUserService.updateUser(user); } } else { if (highUserService.findByPhone(phoneNoInfo.getPurePhoneNumber()) != null) { diff --git a/hai-service/src/main/java/com/hai/service/impl/HighUserServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/HighUserServiceImpl.java index fc733901..cb7ff1c5 100644 --- a/hai-service/src/main/java/com/hai/service/impl/HighUserServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/HighUserServiceImpl.java @@ -160,7 +160,7 @@ public class HighUserServiceImpl implements HighUserService { // 用户信息完整状态 // 0:完整 // 1:需要填写用户信息 - // 2:需要填写手机号 + // 2:需要填写手机 if (user.getInfoCompleteStatus() == 2) { user.setInfoCompleteStatus(0); }