diff --git a/cs-protocol/src/main/java/com/cf/cs/protocol/pojo/dto/LoginReq.java b/cs-protocol/src/main/java/com/cf/cs/protocol/pojo/dto/LoginReq.java index d0011cb..5f47ccb 100644 --- a/cs-protocol/src/main/java/com/cf/cs/protocol/pojo/dto/LoginReq.java +++ b/cs-protocol/src/main/java/com/cf/cs/protocol/pojo/dto/LoginReq.java @@ -1,6 +1,6 @@ package com.cf.cs.protocol.pojo.dto; -import com.cf.cs.base.misc.HelperUtils; +import com.cf.cs.base.common.ConstValue; import com.cf.cs.protocol.validation.group.ValidGroups; import com.fasterxml.jackson.annotation.JsonInclude; import jakarta.validation.constraints.NotBlank; @@ -23,7 +23,7 @@ import org.hibernate.validator.constraints.Length; @JsonInclude(JsonInclude.Include.NON_NULL) public class LoginReq { @NotBlank(message = "username 用户名不能为空", groups = ValidGroups.LogoutReqValid.class) - @Pattern(regexp = HelperUtils.UN_EXPECT_REGEX_CHARS, + @Pattern(regexp = ConstValue.UN_EXPECT_REGEX_CHARS, flags = Pattern.Flag.CASE_INSENSITIVE, message = "username 用户名存在非法字符串", groups = ValidGroups.LogoutReqValid.class) @@ -36,7 +36,7 @@ public class LoginReq { @Length(min = 32, max = 64, message = "password 密码长度必须为SHA256编码后的长度", groups = ValidGroups.LoginReqValid.class) - @Pattern(regexp = HelperUtils.UN_EXPECT_REGEX_CHARS, + @Pattern(regexp = ConstValue.UN_EXPECT_REGEX_CHARS, flags = Pattern.Flag.CASE_INSENSITIVE, message = "password 密码存在非法字符串", groups = ValidGroups.LoginReqValid.class) diff --git a/cs-services/pom.xml b/cs-services/pom.xml deleted file mode 100644 index aa47f40..0000000 --- a/cs-services/pom.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - 4.0.0 - - com.cf.cs - IntegrateService - 0.0.1-dev - - - cs-services - cs-services - cs-services - jar - - - - org.springframework.boot - spring-boot-starter - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - exec - - - - - - diff --git a/cs-services/src/main/java/com/cf/cs/services/CsServicesApplication.java b/cs-services/src/main/java/com/cf/cs/services/CsServicesApplication.java deleted file mode 100644 index f3b6d35..0000000 --- a/cs-services/src/main/java/com/cf/cs/services/CsServicesApplication.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.cf.cs.services; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; - -/** - * The type Cs services application. - * - * @author xajhuang @163.com - */ -@SpringBootApplication -public class CsServicesApplication { - - /** - * The entry point of application. - * - * @param args the input arguments - */ - public static void main(String[] args) { - SpringApplication.run(CsServicesApplication.class, args); - } - -} diff --git a/cs-services/src/test/java/com/cf/cs/services/CsServicesApplicationTests.java b/cs-services/src/test/java/com/cf/cs/services/CsServicesApplicationTests.java deleted file mode 100644 index acd3e70..0000000 --- a/cs-services/src/test/java/com/cf/cs/services/CsServicesApplicationTests.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.cf.cs.services; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -/** - * The type Cs services application tests. - * - * @author xajhuang @163.com - */ -@SpringBootTest -class CsServicesApplicationTests { - - /** - * Context loads. - */ - @Test - void contextLoads() { - } - -} diff --git a/cs-web/pom.xml b/cs-web/pom.xml deleted file mode 100644 index 67d66a9..0000000 --- a/cs-web/pom.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - 4.0.0 - - com.cf.cs - IntegrateService - 0.0.1-dev - - - cs-web - cs-web - cs-web - jar - - - - org.springframework.boot - spring-boot-starter-test - test - - - com.cf.cs - cs-base - ${cs-package.version} - compile - - - - - - - org.springframework.boot - spring-boot-maven-plugin - - exec - - - - - - diff --git a/cs-web/src/main/java/com/cf/cs/web/CsWebApplication.java b/cs-web/src/main/java/com/cf/cs/web/CsWebApplication.java deleted file mode 100644 index 20e3ae0..0000000 --- a/cs-web/src/main/java/com/cf/cs/web/CsWebApplication.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.cf.cs.web; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; - -/** - * The type Cs web application. - * - * @author xajhuang @163.com - */ -@SpringBootApplication -public class CsWebApplication { - - /** - * The entry point of application. - * - * @param args the input arguments - */ - public static void main(String[] args) { - SpringApplication.run(CsWebApplication.class, args); - } - -} diff --git a/cs-web/src/test/java/com/cf/cs/web/CsWebApplicationTests.java b/cs-web/src/test/java/com/cf/cs/web/CsWebApplicationTests.java deleted file mode 100644 index 9fd4106..0000000 --- a/cs-web/src/test/java/com/cf/cs/web/CsWebApplicationTests.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.cf.cs.web; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -/** - * The type Cs web application tests. - * - * @author xajhuang @163.com - */ -@SpringBootTest -class CsWebApplicationTests { - - /** - * Context loads. - */ - @Test - void contextLoads() { - } - -} diff --git a/pom.xml b/pom.xml index a2b6021..1738082 100644 --- a/pom.xml +++ b/pom.xml @@ -31,8 +31,6 @@ cs-crypto cs-protocol cs-database - cs-services - cs-web cs-authentication cs-restful