feat: 展示排序 close #29

This commit is contained in:
naiba
2021-01-08 21:04:50 +08:00
parent de9d781326
commit 1d2c81ead2
14 changed files with 63 additions and 42 deletions
+3 -2
View File
@@ -11,8 +11,9 @@ import (
// Server ..
type Server struct {
Common
Name string
Secret string `json:"-"`
Name string
DisplayIndex int // 展示权重,越大越靠前
Secret string `json:"-"`
Host *Host `gorm:"-"`
State *State `gorm:"-"`