mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-10 19:23:44 +08:00
发布v2.15.1版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -11,21 +11,21 @@ import (
|
||||
|
||||
// SysServeLicense is the golang structure for table sys_serve_license.
|
||||
type SysServeLicense struct {
|
||||
Id int64 `json:"id" description:"许可ID"`
|
||||
Group string `json:"group" description:"分组"`
|
||||
Name string `json:"name" description:"许可名称"`
|
||||
Appid string `json:"appid" description:"应用ID"`
|
||||
SecretKey string `json:"secretKey" description:"应用秘钥"`
|
||||
RemoteAddr string `json:"remoteAddr" description:"最后连接地址"`
|
||||
OnlineLimit int `json:"onlineLimit" description:"在线限制"`
|
||||
LoginTimes int64 `json:"loginTimes" description:"登录次数"`
|
||||
LastLoginAt *gtime.Time `json:"lastLoginAt" description:"最后登录时间"`
|
||||
LastActiveAt *gtime.Time `json:"lastActiveAt" description:"最后心跳"`
|
||||
Routes *gjson.Json `json:"routes" description:"路由表,空使用默认分组路由"`
|
||||
AllowedIps string `json:"allowedIps" description:"IP白名单"`
|
||||
EndAt *gtime.Time `json:"endAt" description:"授权有效期"`
|
||||
Remark string `json:"remark" description:"备注"`
|
||||
Status int `json:"status" description:"状态"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" description:"修改时间"`
|
||||
Id int64 `json:"id" orm:"id" description:"许可ID"`
|
||||
Group string `json:"group" orm:"group" description:"分组"`
|
||||
Name string `json:"name" orm:"name" description:"许可名称"`
|
||||
Appid string `json:"appid" orm:"appid" description:"应用ID"`
|
||||
SecretKey string `json:"secretKey" orm:"secret_key" description:"应用秘钥"`
|
||||
RemoteAddr string `json:"remoteAddr" orm:"remote_addr" description:"最后连接地址"`
|
||||
OnlineLimit int `json:"onlineLimit" orm:"online_limit" description:"在线限制"`
|
||||
LoginTimes int64 `json:"loginTimes" orm:"login_times" description:"登录次数"`
|
||||
LastLoginAt *gtime.Time `json:"lastLoginAt" orm:"last_login_at" description:"最后登录时间"`
|
||||
LastActiveAt *gtime.Time `json:"lastActiveAt" orm:"last_active_at" description:"最后心跳"`
|
||||
Routes *gjson.Json `json:"routes" orm:"routes" description:"路由表,空使用默认分组路由"`
|
||||
AllowedIps string `json:"allowedIps" orm:"allowed_ips" description:"IP白名单"`
|
||||
EndAt *gtime.Time `json:"endAt" orm:"end_at" description:"授权有效期"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
Status int `json:"status" orm:"status" description:"状态"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"修改时间"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user