mirror of
https://github.com/RemainderTime/spring-boot-base-demo.git
synced 2026-06-09 11:39:58 +08:00
1.优化改进全局异常类
2.项目介绍调整
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package cn.xf.basedemo.model.res;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -16,6 +17,7 @@ public class LoginInfoRes {
|
||||
/**
|
||||
* 登录密文
|
||||
*/
|
||||
@NotBlank(message = "登录密文不能为空")
|
||||
@Schema(name = "登录密文")
|
||||
private String encryptedData;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user