Browse Source

全部模块:注册要地区

tangxiangan 2 years ago
parent
commit
255434a449

+ 2 - 0
pdf-tech-core/src/main/java/cn/kdan/pdf/tech/core/params/VppMemberRegisterParam.java

@@ -35,4 +35,6 @@ public class VppMemberRegisterParam {
     private String inviteEmailCode;
 
     private Boolean isSuperAdmin;
+
+    private String area;
 }

+ 1 - 0
pdf-tech-core/src/main/java/cn/kdan/pdf/tech/core/service/impl/VppMemberServiceImpl.java

@@ -109,6 +109,7 @@ public class VppMemberServiceImpl implements VppMemberService {
                 .withEmail(param.getEmail()).withValidFlag(ValidStatusEnum.VALID.value())
                 .withCreatedAt(new Date()).withIndustry(param.getIndustry())
                 .withUpdatedAt(new Date())
+                .withArea(param.getArea())
                 .withSubscriberType(0).withDigestPassword(rsaUtils.encrypt(param.getPassword())).withUpdatedAt(new Date());
         if(!StringUtils.isEmpty(param.getIsSuperAdmin())&&param.getIsSuperAdmin()){
             //todo 创建默认团队