From 29e368f6d02f42e5cd4848640c0da109a595bc0b Mon Sep 17 00:00:00 2001 From: hupeh Date: Mon, 2 Jan 2023 15:43:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20:sparkles:=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/db.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/db.go b/app/db.go index 7df8365..1b8bf8b 100644 --- a/app/db.go +++ b/app/db.go @@ -28,6 +28,7 @@ type User struct { Name string `json:"name"` // 用户名称 PhoneNumber string `json:"phone_number"` // 用户手机 Password string `json:"-"` // 登录密码 + Admin bool `json:"-"` // 是不是管理员 } // UserToken 用户令牌