This commit is contained in:
zhaocy 2022-08-01 14:27:33 +08:00
parent 48306f8119
commit c2bd05cac8

View File

@ -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