From cf7d03dc341b4810d19d5fbee259372d49cc763c Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 18 Jul 2024 14:17:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/db/db_user_profile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/db/db_user_profile.go b/app/db/db_user_profile.go index 0220494..dd1311f 100644 --- a/app/db/db_user_profile.go +++ b/app/db/db_user_profile.go @@ -397,7 +397,7 @@ func UserProfileUpdate(Db *xorm.Engine, uid interface{}, userProfile *model.User if forceCols != nil { affected, err = Db.Where("uid=?", uid).Cols(forceCols...).Update(userProfile) } else { - affected, err = Db.Where("uid=?", uid).AllCols().Omit("fin_valid").Update(userProfile) + affected, err = Db.Where("uid=?", uid).AllCols().Omit("fin_valid,parent_uid").Update(userProfile) } if err != nil {