feat:优化项目信息
This commit is contained in:
@ -81,7 +81,7 @@ func loginForPassword(params *AccountLoginParams, tenantID uint64) (*loginHandle
|
||||
|
||||
// loginForSmsCaptcha 短信验证码登陆
|
||||
func loginForSmsCaptcha(params *AccountLoginParams, tenantID uint64) (*loginHandleReturn, error) {
|
||||
if params.Password == "" {
|
||||
if params.Captcha == "" {
|
||||
return nil, errors.New("操作错误,验证码不可为空")
|
||||
}
|
||||
// 验证验证码
|
||||
|
Reference in New Issue
Block a user