Browse Source

配置增加非空判断

liangpeile 1 year ago
parent
commit
8b26e28466

+ 1 - 0
crmeb-front/src/main/java/com/zbkj/front/service/impl/LoginServiceImpl.java

@@ -276,6 +276,7 @@ public class LoginServiceImpl implements LoginService {
             user.setNickname(randomChar(4));
             user.setAvatar(systemConfigService.getValueByKey(SysConfigConstants.USER_DEFAULT_AVATAR_CONFIG_KEY));
             user.setSex(0);
+            user.setIsEnterpriseUser(1);
             user.setAddress("");
         }
         switch (request.getType()) {