dengbiao 4 months ago
parent
commit
21822e48e2
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      app/db/db_user_profile.go
  2. +1
    -0
      consume/init.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 {


+ 1
- 0
consume/init.go View File

@@ -107,6 +107,7 @@ func initConsumes() {
//jobs[consumeMd.SuperCloudIssuanceAsyncMLoginFunName] = SuperCloudIssuanceAsyncMLoginConsume

jobs[consumeMd.CanalGimMessageConsumeFunName] = CanalGimMessageConsume

}

func Run() {


Loading…
Cancel
Save