feat: 服务器状态API

This commit is contained in:
Akkia
2022-05-17 11:21:27 +08:00
parent 5fca0a52ef
commit 76928b71d9
6 changed files with 172 additions and 5 deletions

10
model/api_token.go Normal file
View File

@@ -0,0 +1,10 @@
package model
import "time"
type ApiToken struct {
Common
UserId uint64 `json:"user_id"`
Token string `json:"token"`
TokenExpired time.Time `json:"token_expired"`
}