From 0a6658fcb49a11d391608ca2f7409831dc1bd47d Mon Sep 17 00:00:00 2001 From: naiba Date: Tue, 26 Apr 2022 22:54:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20`dashboard=20v0.12.27`=20?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E7=94=A8=E6=88=B7=E5=90=8Dunique=EF=BC=8C?= =?UTF-8?q?=E6=9C=89=E4=BA=9B=E7=94=A8=E6=88=B7=20gitee/github=20=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=90=8D=E7=9B=B8=E5=90=8C=E5=AF=BC=E8=87=B4=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- model/user.go | 12 ++++++------ service/singleton/singleton.go | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a954e27..1a25822 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@
LOGO designed by 熊大 .

-    +   

:trollface: 哪吒监控 一站式轻监控轻运维系统。支持系统状态、HTTP(SSL 证书变更、即将到期、到期)、TCP、Ping 监控报警,计划任务和在线终端。

diff --git a/model/user.go b/model/user.go index 498507f..b96b2fc 100644 --- a/model/user.go +++ b/model/user.go @@ -11,15 +11,15 @@ import ( type User struct { Common - Login string `gorm:"uniqueIndex" json:"login,omitempty"` // 登录名 - AvatarURL string `json:"avatar_url,omitempty"` // 头像地址 - Name string `json:"name,omitempty"` // 昵称 - Blog string `json:"blog,omitempty"` // 网站链接 - Email string `json:"email,omitempty"` // 邮箱 + Login string `json:"login,omitempty"` // 登录名 + AvatarURL string `json:"avatar_url,omitempty"` // 头像地址 + Name string `json:"name,omitempty"` // 昵称 + Blog string `json:"blog,omitempty"` // 网站链接 + Email string `json:"email,omitempty"` // 邮箱 Hireable bool `json:"hireable,omitempty"` Bio string `json:"bio,omitempty"` // 个人简介 - Token string `gorm:"uniqueIndex" json:"-"` // 认证 Token + Token string `json:"-"` // 认证 Token TokenExpired time.Time `json:"token_expired,omitempty"` // Token 过期时间 SuperAdmin bool `json:"super_admin,omitempty"` // 超级管理员 } diff --git a/service/singleton/singleton.go b/service/singleton/singleton.go index 1cf20b4..b6bd490 100644 --- a/service/singleton/singleton.go +++ b/service/singleton/singleton.go @@ -12,7 +12,7 @@ import ( "github.com/naiba/nezha/pkg/utils" ) -var Version = "v0.12.26" // !!记得修改 README 中的 badge 版本!! +var Version = "v0.12.27" // !!记得修改 README 中的 badge 版本!! var ( Conf *model.Config