feat: 展示排序 close #29

This commit is contained in:
naiba
2021-01-08 21:04:50 +08:00
parent 35766e590d
commit 347bb7faa0
14 changed files with 63 additions and 42 deletions

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:"-"`