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{}
|
||||
defer func() {
|
||||
if user != nil {
|
||||
rsp.Data = user
|
||||
err = session.SendMsg(string(this.module.GetType()), UserSubTypeLogin, rsp)
|
||||
if err != nil {
|
||||
code = pb.ErrorCode_SystemError
|
||||
|
Loading…
Reference in New Issue
Block a user