...
|
...
|
@@ -76,6 +76,7 @@ func (s *AuthService) Login(request *protocol.LoginRequest) (rsp *protocol.Login |
|
|
if result, err = CheckSmsCode(request.Phone, request.Code, protocol.SmsCode); result && err == nil {
|
|
|
goto Success
|
|
|
} else {
|
|
|
err = protocol.NewErrWithMessage(1012, err)
|
|
|
return
|
|
|
}
|
|
|
default:
|
...
|
...
|
|