mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-20 16:57:14 +08:00
refactor: 用 @Email 和 @Mobile 注解替换了部分验证,提高了代码可读性,修改了多处错误提示信息,使其更加友好
This commit is contained in:
@@ -37,6 +37,6 @@ public class CommonStatusUpdateReq implements Serializable {
|
||||
* 状态
|
||||
*/
|
||||
@Schema(description = "状态", example = "1")
|
||||
@NotNull(message = "状态非法")
|
||||
@NotNull(message = "状态无效")
|
||||
private DisEnableStatusEnum status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user