操作日志参数过滤&脱敏.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package com.orion.ops.module.infra.entity.request.user;
|
||||
|
||||
import com.orion.ops.framework.desensitize.core.annotation.Desensitize;
|
||||
import com.orion.ops.framework.desensitize.core.annotation.DesensitizeObject;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -15,7 +13,6 @@ import javax.validation.constraints.NotEmpty;
|
||||
* @since 2023/7/13 22:16
|
||||
*/
|
||||
@Data
|
||||
@DesensitizeObject
|
||||
@Schema(name = "UserLoginRequest", description = "登陆请求")
|
||||
public class UserLoginRequest {
|
||||
|
||||
@@ -23,7 +20,6 @@ public class UserLoginRequest {
|
||||
@Schema(description = "用户名")
|
||||
private String username;
|
||||
|
||||
@Desensitize(toEmpty = true)
|
||||
@NotEmpty
|
||||
@Schema(description = "密码")
|
||||
private String password;
|
||||
|
||||
Reference in New Issue
Block a user