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 { diff --git a/consume/init.go b/consume/init.go index a9b4eae..9712293 100644 --- a/consume/init.go +++ b/consume/init.go @@ -107,6 +107,7 @@ func initConsumes() { //jobs[consumeMd.SuperCloudIssuanceAsyncMLoginFunName] = SuperCloudIssuanceAsyncMLoginConsume jobs[consumeMd.CanalGimMessageConsumeFunName] = CanalGimMessageConsume + } func Run() {