From 6a5b54ced7133539c04392be958a0d56fa12bc31 Mon Sep 17 00:00:00 2001 From: hupeh Date: Mon, 2 Jan 2023 12:39:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=B8=8D=E5=90=91=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E6=9A=B4=E9=9C=B2=E7=94=A8=E6=88=B7=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/db.go b/app/db.go index 0d1742a..9f54c74 100644 --- a/app/db.go +++ b/app/db.go @@ -26,7 +26,7 @@ type User struct { gorm.Model Name string `json:"name"` // 用户名称 PhoneNumber string `json:"phone_number"` // 用户手机 - Password string `json:"password"` // 登录密码 + Password string `json:"-"` // 登录密码 } // Goods 商品