back_recharge
wangyuan 2019-08-21 14:50:37 +08:00
parent 58d3b86212
commit c8295ea4e7
1 changed files with 1 additions and 7 deletions

View File

@ -25,13 +25,7 @@ public class GetAllMailHandler extends BaseHandler {
@Override
public void process(ISession iSession, PacketNetData netData) throws Exception {
int userId = netData.getUserId();
int token = netData.getToken();
int msgId = netData.getMsgId();
int msgIndex = netData.getIndex();
LOGGER.info("processMessage->uid={},token={},msgId={},msgIndex={}",
userId, token,msgId,msgIndex);
List<CommonProto.Mail> allUserMail = MailLogic.getInstance().getAllUserMail(userId);
List<CommonProto.Mail> allUserMail = MailLogic.getInstance().getAllUserMail(iSession.getUid());
PlayerInfoProto.GetAllMailInfoResponse getPlayerInfoResponse = PlayerInfoProto.GetAllMailInfoResponse.newBuilder()
.addAllMialList(allUserMail)
.build();