feat:优化项目信息

This commit is contained in:
henry
2022-03-05 15:33:22 +08:00
16 changed files with 115 additions and 58 deletions

View File

@ -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("操作错误,验证码不可为空")
}
// 验证验证码