Browse Source

更新

master
huangjiajun 4 months ago
parent
commit
cf7d03dc34
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/db/db_user_profile.go

+ 1
- 1
app/db/db_user_profile.go View File

@@ -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 {


Loading…
Cancel
Save