From 50c28a6ab2b2855f152a1ddc4a41fa5501beda27 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Mon, 2 Sep 2024 14:04:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A3=80=E6=B5=8B=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E6=98=AF=E5=90=A6=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/service/User.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/api/service/User.go b/api/service/User.go index 49fe7e6..9eda6d4 100644 --- a/api/service/User.go +++ b/api/service/User.go @@ -940,14 +940,6 @@ func (r *UserService) CheckUserInfo(userInfo *model.UserInfo) bool { return false } - if userInfo.Height == "" { - return false - } - - if userInfo.Weight == "" { - return false - } - if userInfo.IsFamilyHistory == nil { return false }