he2802 2 년 전
부모
커밋
21fcc4cab6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxLoginService.java

+ 1 - 0
zhongzheng-framework/src/main/java/com/zhongzheng/framework/web/service/WxLoginService.java

@@ -1257,6 +1257,7 @@ public class WxLoginService implements IWxLoginService {
         }
         if (!Validator.isNotNull(user.getGzhOpenId())) {
             user.setGzhOpenId(openId);
+            user.setUnionId(unionId);
             iUserService.updateById(user);
         }
         return user;