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

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

@@ -1297,7 +1297,7 @@ public class WxLoginService implements IWxLoginService {
         }
         if (Validator.isEmpty(seller.getGzhOpenId())) {
             seller.setGzhOpenId(openId);
-            if (unionId.equals("null")) {
+            if(Validator.isNotEmpty(unionId)&&!unionId.equals("null")){
                 seller.setUnionId(unionId);
             }
             iDistributionSellerService.updateById(seller);