From 4adb0063ef324e235218cc73eea63e39a6e8e59f Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 26 Aug 2022 18:44:55 +0800 Subject: [PATCH] 微调字段 --- snowy-main/src/main/java/vip/xiaonuo/modular/blogfriendshiplink/param/BlogFriendshipLinkParam.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/snowy-main/src/main/java/vip/xiaonuo/modular/blogfriendshiplink/param/BlogFriendshipLinkParam.java b/snowy-main/src/main/java/vip/xiaonuo/modular/blogfriendshiplink/param/BlogFriendshipLinkParam.java index 0026d35..34c3ae9 100644 --- a/snowy-main/src/main/java/vip/xiaonuo/modular/blogfriendshiplink/param/BlogFriendshipLinkParam.java +++ b/snowy-main/src/main/java/vip/xiaonuo/modular/blogfriendshiplink/param/BlogFriendshipLinkParam.java @@ -56,7 +56,7 @@ /** * url地址 */ - @Size(max = 50, groups = {add.class, edit.class}) + @Size(max = 200, groups = {add.class, edit.class}) @NotBlank(message = "url地址不能为空,请检查url参数", groups = {add.class, edit.class}) @Pattern(regexp = "^$|^((https|http)?:\\/\\/)[^\\s]+", message = "url格式错误", groups = {add.class}) private String url; @@ -64,7 +64,7 @@ /** * 头像地址 */ - @Size(max = 50, groups = {add.class, edit.class}) + @Size(max = 200, groups = {add.class, edit.class}) @Pattern(regexp = "^$|^((https|http)?:\\/\\/)[^\\s]+", message = "头像格式错误", groups = {add.class}) private String avatar; -- Gitblit v1.9.1