作者 yangfu

fix auth

@@ -38,7 +38,7 @@ func Login(request *protocol.LoginRequest)(rsp *protocol.LoginResponse,err error @@ -38,7 +38,7 @@ func Login(request *protocol.LoginRequest)(rsp *protocol.LoginResponse,err error
38 log.Error(err) 38 log.Error(err)
39 return 39 return
40 } 40 }
41 - rsp :=protocol.LoginResponse{AuthCode:userInfo.Auth} 41 + rsp =&protocol.LoginResponse{AuthCode:userInfo.Auth}
42 msg :=mybeego.NewMessage(0) 42 msg :=mybeego.NewMessage(0)
43 msg.Data =rsp 43 msg.Data =rsp
44 return 44 return