From 3b6496773d05337ecfe8b3022feb7d8722974c08 Mon Sep 17 00:00:00 2001 From: weihongyang <1075331873@qq.com> Date: Thu, 23 Jun 2022 11:56:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E5=9C=A8swagger=E6=9C=89=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ym-admin/src/main/java/com/cnbm/admin/params/LoginParam.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ym-admin/src/main/java/com/cnbm/admin/params/LoginParam.java b/ym-admin/src/main/java/com/cnbm/admin/params/LoginParam.java index 9f6ad5f..aa2a651 100644 --- a/ym-admin/src/main/java/com/cnbm/admin/params/LoginParam.java +++ b/ym-admin/src/main/java/com/cnbm/admin/params/LoginParam.java @@ -17,11 +17,11 @@ import java.io.Serializable; public class LoginParam implements Serializable { private static final long serialVersionUID = 1L; - @ApiModelProperty(value = "用户名", required = true) + @ApiModelProperty(value = "用户名", required = true, example = "admin") @NotBlank(message="用户名不能为空") private String username; - @ApiModelProperty(value = "密码" , required = true) + @ApiModelProperty(value = "密码" , required = true, example = "admin") @NotBlank(message="密码不能为空") private String password;