Полная зачистка legacy + закрытие fix24.1/fix24.2 + обновление логотипа
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package dto
|
||||
|
||||
type AccountPageDto struct {
|
||||
type PeerPageDto struct {
|
||||
BaseDto
|
||||
Username *string `json:"username" form:"username" validate:"omitempty,min=1,max=32"`
|
||||
Deleted *int64 `json:"deleted" form:"deleted" validate:"omitempty,oneof=0 1"`
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
package dto
|
||||
|
||||
type AdminChangePasswordDto struct {
|
||||
OldPassword *string `json:"oldPassword" form:"oldPassword" validate:"required,min=6,max=64"`
|
||||
NewPassword *string `json:"newPassword" form:"newPassword" validate:"required,min=6,max=64"`
|
||||
}
|
||||
|
||||
@@ -15,11 +15,6 @@ type Hysteria2VersionDto struct {
|
||||
Version *string `json:"version" form:"version" validate:"required,min=1,max=10"`
|
||||
}
|
||||
|
||||
type Hysteria2SubscribeUrlDto struct {
|
||||
AccountId *int64 `json:"accountId" form:"accountId" validate:"required,gt=0"`
|
||||
Protocol *string `json:"protocol" form:"protocol" validate:"required,min=1,max=8"`
|
||||
}
|
||||
|
||||
type Hysteria2UrlDto struct {
|
||||
AccountId *int64 `json:"accountId" form:"accountId" validate:"required,gt=0"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user