Русифицировать README и интерфейс HY2XS admin
This commit is contained in:
@@ -29,3 +29,4 @@ type AccountInfoVo struct {
|
||||
Username string `json:"username"`
|
||||
Roles []string `json:"roles"`
|
||||
}
|
||||
|
||||
|
||||
@@ -5,3 +5,4 @@ type ConfigVo struct {
|
||||
Value string `json:"value"`
|
||||
Remark string `json:"remark"`
|
||||
}
|
||||
|
||||
|
||||
@@ -38,3 +38,4 @@ type Hysteria2AcmePathVo struct {
|
||||
CrtPath string `json:"crtPath"`
|
||||
KeyPath string `json:"keyPath"`
|
||||
}
|
||||
|
||||
|
||||
@@ -4,3 +4,4 @@ type JwtVo struct {
|
||||
TokenType string `json:"tokenType"`
|
||||
AccessToken string `json:"accessToken"`
|
||||
}
|
||||
|
||||
|
||||
@@ -21,3 +21,4 @@ type LogHysteria2Vo struct {
|
||||
Msg string `json:"msg"`
|
||||
Time string `json:"time"`
|
||||
}
|
||||
|
||||
|
||||
@@ -8,8 +8,9 @@ type SystemMonitorVo struct {
|
||||
}
|
||||
|
||||
type Hysteria2MonitorVo struct {
|
||||
UserTotal int64 `json:"userTotal"` // 在线用户数
|
||||
DeviceTotal int64 `json:"deviceTotal"` // 在线设备数
|
||||
Version string `json:"version"` // 版本
|
||||
Running bool `json:"running"` // 运行状态
|
||||
UserTotal int64 `json:"userTotal"` // Количество пользователей онлайн
|
||||
DeviceTotal int64 `json:"deviceTotal"` // Количество устройств онлайн
|
||||
Version string `json:"version"` // Версия
|
||||
Running bool `json:"running"` // Статус выполнения
|
||||
}
|
||||
|
||||
|
||||
@@ -44,3 +44,4 @@ func Fail(message string, c *gin.Context) {
|
||||
Data: nil,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -6,3 +6,4 @@ type BaseVo struct {
|
||||
Id int64 `json:"id"`
|
||||
CreateTime time.Time `json:"createTime"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user