Merge branch 'master' of http://101.43.70.124:3000/williamet/cas_tt_cloud_backend
This commit is contained in:
@ -58,7 +58,7 @@ func loginForPassword(params *AccountLoginParams, tenantID uint64) (*model.SysUs
|
|||||||
|
|
||||||
// loginForSmsCaptcha 短信验证码登陆
|
// loginForSmsCaptcha 短信验证码登陆
|
||||||
func loginForSmsCaptcha(params *AccountLoginParams, tenantID uint64) (*model.SysUser, error) {
|
func loginForSmsCaptcha(params *AccountLoginParams, tenantID uint64) (*model.SysUser, error) {
|
||||||
if params.Password == "" {
|
if params.Captcha == "" {
|
||||||
return nil, errors.New("操作错误,验证码不可为空")
|
return nil, errors.New("操作错误,验证码不可为空")
|
||||||
}
|
}
|
||||||
// 验证验证码
|
// 验证验证码
|
||||||
|
Reference in New Issue
Block a user