diff --git a/dsSso/Dao/DaoSysLoginPerson/DaoSysLoginPerson.go b/dsSso/Dao/DaoSysLoginPerson/DaoSysLoginPerson.go index be4a29b4..96cc5f52 100644 --- a/dsSso/Dao/DaoSysLoginPerson/DaoSysLoginPerson.go +++ b/dsSso/Dao/DaoSysLoginPerson/DaoSysLoginPerson.go @@ -256,7 +256,7 @@ func CheckOpenId(openId string) (bool, error, int64, string) { //绑定微信的用户 func BindWxUser(identityId string, personId string, openid string) (bool, error) { - sql := `update t_sys_loginperson set openid=? where identity_id=? and person_id=?` + sql := `update t_sys_loginperson set wx_open_id=? where identity_id=? and person_id=?` _, err := db.SQL(sql, openid, identityId, personId).Execute() if err != nil { return false, err