fix
This commit is contained in:
parent
9ad045c8f4
commit
a4363d0a47
|
@ -232,7 +232,11 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT
|
||||||
END
|
END
|
||||||
WHERE id = ?;`
|
WHERE id = ?;`
|
||||||
updatesql = fmt.Sprintf(updatesql, txUserInfo.Statement.Table)
|
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
|
return err
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user