🎨 complete SMS login function

This commit is contained in:
landaiqing
2024-08-14 00:11:32 +08:00
parent 48c5aeb0f4
commit 368adadf52
38 changed files with 687 additions and 232 deletions

View File

@@ -33,3 +33,11 @@ CaptchaSendSuccess = "captcha send successfully!"
CaptchaTooOften = "captcha too often!"
PhoneNotEmpty = "phone number can not be empty!"
EmailNotEmpty = "email can not be empty!"
AuthVerifyFailed = "auth verify failed!, please try again!"
AuthVerifySuccess = "auth verify successfully!"
AuthVerifyExpired = "auth verify expired!"
ParamsError = "params error!"
PhoneAndCaptchaNotEmpty = "phone number and captcha can not be empty!"
PhoneErrorFormat = "phone number error format!"
RegisterUserError = "register user error!"
LoginExpired = "login expired!, please try again!"

View File

@@ -33,3 +33,11 @@ CaptchaSendSuccess = "验证码发送成功!"
CaptchaTooOften = "验证码发送过于频繁!"
PhoneNotEmpty = "手机号不能为空!"
EmailNotEmpty = "邮箱不能为空!"
AuthVerifyFailed = "认证失败!,请重新登录!"
AuthVerifySuccess = "认证成功!"
AuthVerifyExpired = "认证已过期!,请重新登录!"
ParamsError = "参数错误!"
PhoneAndCaptchaNotEmpty = "手机号和验证码不能为空!"
PhoneErrorFormat = "手机号格式错误!"
RegisterUserError = "注册用户错误!"
LoginExpired = "登录已过期!,请重新登录!"