|
|
@@ -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)
|