作者 yangfu

fix auth.login

package protocol
var errmessge ErrorMap = map[int]string{
0: "",
0: "成功",
1: "系统异常",
2: "参数错误",
101: "clientId或clientSecret无效",
... ...
... ... @@ -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:
... ...