- fk.
This commit is contained in:
@@ -149,7 +149,7 @@ func createUserAndSetOpenIDNull(db *dao.DaoDB, user *model.WeiXins) (err error)
|
||||
dao.Rollback(db)
|
||||
return err
|
||||
}
|
||||
if _, err = dao.ExecuteSQL(db, "UPDATE weixins SET openid = NULL WHERE mobile = ?", user.Tel); err != nil {
|
||||
if _, err = dao.ExecuteSQL(db, "UPDATE weixins SET openid = NULL WHERE tel = ?", user.Tel); err != nil {
|
||||
dao.Rollback(db)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user