|
@@ -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);
|