Fix:3; Refactor:2; Feat3; Docs:1 #23

Merged
FatttSnake merged 9 commits from FatttSnake into dev 2024-05-06 09:30:17 +08:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 4527944a21 - Show all commits

View File

@@ -38,7 +38,7 @@ data class ToolCreateParam(
@field: NotBlank(message = "ToolId can not be blank") @field: NotBlank(message = "ToolId can not be blank")
@field: Pattern( @field: Pattern(
regexp = "^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$", regexp = "^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$",
message = "Ver can only match '^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$'" message = "ToolId can only match '^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$'"
) )
var toolId: String?, var toolId: String?,

View File

@@ -27,7 +27,7 @@ data class ToolUpgradeParam(
@field: NotBlank(message = "ToolId can not be blank") @field: NotBlank(message = "ToolId can not be blank")
@field: Pattern( @field: Pattern(
regexp = "^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$", regexp = "^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$",
message = "Ver can only match '^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$'" message = "ToolId can only match '^[a-zA-Z-_][0-9a-zA-Z-_]{2,19}\$'"
) )
var toolId: String?, var toolId: String?,