diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs index 640001f2..0d2d05c1 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppShare.cs @@ -63,9 +63,9 @@ namespace AxibugEmuOnline.Client.Manager App.network.SendToServer((int)CommandID.CmdGamescreenImgUpload, ProtoBufHelper.Serizlize(req)); } - private void RecvGamescreenImgUpload(byte[] obj) + private void RecvGamescreenImgUpload(byte[] data) { - OverlayManager.PopTip("登录成功"); + OverlayManager.PopTip("封面图上传成功"); } } } \ No newline at end of file diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs index 2a482879..dd75c8d0 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs @@ -163,16 +163,22 @@ namespace AxibugEmuOnline.Client.Network case ErrorCode.ErrorRomDontHadStar: errMsg = "并没有收藏"; break; + case ErrorCode.ErrorRomFailCoverimg: + errMsg = "处理游戏截图失败"; + break; case ErrorCode.ErrorDefaul: case ErrorCode.ErrorOk: default: - errMsg = err.ToString(); break; } OverlayManager.PopTip("错误:"+ errMsg); App.log.Error("错误:" + errMsg); } + //如果报错,则不往前继续推进 + if (err > ErrorCode.ErrorOk) + return; + List eventList = GetNetEventDicList(cmd); if (eventList != null) {