mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-29 16:06:36 +08:00
修复
This commit is contained in:
@@ -26,4 +26,9 @@ public class ForwardDto {
|
||||
@Min(value = 1, message = "端口号不能小于1")
|
||||
@Max(value = 65535, message = "端口号不能大于65535")
|
||||
private Integer inPort;
|
||||
|
||||
/**
|
||||
* 是否启用代理协议(0: 禁用, 1: 启用)
|
||||
*/
|
||||
private Integer proxyProtocol = 0; // 设置默认值为0(禁用)
|
||||
}
|
||||
@@ -32,4 +32,9 @@ public class ForwardUpdateDto {
|
||||
@Min(value = 1, message = "端口号不能小于1")
|
||||
@Max(value = 65535, message = "端口号不能大于65535")
|
||||
private Integer inPort;
|
||||
|
||||
/**
|
||||
* 是否启用代理协议(0: 禁用, 1: 启用)
|
||||
*/
|
||||
private Integer proxyProtocol = 0; // 设置默认值为0(禁用)
|
||||
}
|
||||
@@ -85,4 +85,9 @@ public class ForwardWithTunnelDto {
|
||||
private Long outFlow;
|
||||
|
||||
private String strategy;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否启用代理协议(0: 禁用, 1: 启用)
|
||||
*/
|
||||
private Integer proxyProtocol;
|
||||
}
|
||||
@@ -9,8 +9,6 @@ import javax.validation.constraints.Min;
|
||||
@Data
|
||||
public class UserDto {
|
||||
|
||||
private String name = "user";
|
||||
|
||||
@NotBlank(message = "用户名不能为空")
|
||||
private String user;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user