This commit is contained in:
gazebo
2018-09-19 17:15:58 +08:00
parent e7c5e5c143
commit 46f5a89da0

View File

@@ -133,7 +133,7 @@ func verifyMobileIsBlank(db *dao.DaoDB, mobile string) (user *model.WeiXins, err
func verifyMobileHasNoMembers(db *dao.DaoDB, mobile string) (err error) {
countInfo := &struct{ Ct int }{}
if err = dao.GetRows(db, countInfo, `
if err = dao.GetRow(db, countInfo, `
SELECT COUNT(*) ct
FROM weixins t1
JOIN weixins t2 ON t1.parent_id = t2.id AND t2.mobile = ?