jyq 5 years ago
parent
commit
865f640e01
1 changed files with 2 additions and 0 deletions
  1. 2 0
      service/auth.go

+ 2 - 0
service/auth.go

@@ -11,6 +11,7 @@ import (
 	//"server/utils"
 	//"strconv"
 	//"time"
+	h "video_course/repository/http"
 
 	"github.com/mojocn/base64Captcha"
 )
@@ -88,6 +89,7 @@ func (a Auth) GenVFCode(codeTypeInt int, name string, ip string,
 	//	panic(errors.ErrPicVerifyCode)
 	//}
 	//_ = dao.User{}.GetUserByPhone(name)
+	h.LoalloutServer{}.CheckPhone(name)
 	//codeType := model.VFCodeCodeTypeFromInt(codeTypeInt)
 	//vfcodeDao := dao.VFCode{}
 	//nameLastSend := vfcodeDao.NameLastSendTime(codeType, name)