update
This commit is contained in:
parent
48306f8119
commit
c2bd05cac8
@ -35,6 +35,7 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod
|
|||||||
rsp := &pb.UserLoginResp{}
|
rsp := &pb.UserLoginResp{}
|
||||||
defer func() {
|
defer func() {
|
||||||
if user != nil {
|
if user != nil {
|
||||||
|
rsp.Data = user
|
||||||
err = session.SendMsg(string(this.module.GetType()), UserSubTypeLogin, rsp)
|
err = session.SendMsg(string(this.module.GetType()), UserSubTypeLogin, rsp)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
code = pb.ErrorCode_SystemError
|
code = pb.ErrorCode_SystemError
|
||||||
|
Loading…
Reference in New Issue
Block a user