This commit is contained in:
eson 2023-09-08 11:08:13 +08:00
parent 9ad045c8f4
commit a4363d0a47

View File

@ -232,7 +232,11 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT
END
WHERE id = ?;`
updatesql = fmt.Sprintf(updatesql, txUserInfo.Statement.Table)
txUserInfo.Raw(updatesql, metadata, metadata, uinfo.UserId)
logx.Error(updatesql)
err = txUserInfo.Raw(updatesql, metadata, metadata, uinfo.UserId).Error
if err != nil {
return err
}
}
return err
})