service/userService.go
@@ -39,7 +39,7 @@ } } else { //用户已存在 var userCar models.UserCar var plateNos []string var plateNos = make([]string, 0) all, e := userCar.GetByUserId(tmpUser.Id) if e == nil && all != nil { for _,up := range all { @@ -101,7 +101,6 @@ } func verifyCode(phoneNum string, cod string) bool { return true if b,r := existCode(phoneNum);b && r == cod { return true } else {