guodong 3 years ago
parent
commit
9d0400ab99
1 changed files with 4 additions and 4 deletions
  1. 4 4
      GameClient/Assets/Game/HotUpdate/ServerProxy/MailSProxy.cs

+ 4 - 4
GameClient/Assets/Game/HotUpdate/ServerProxy/MailSProxy.cs

@@ -85,8 +85,8 @@ namespace GFGGame
         }
         public static async ETTask<bool> ReqMailReward(long mailId)
         {
-            Mail2C_GetMailItems response = null;
-            response = (Mail2C_GetMailItems)await MessageHelper.SendToServer(new C2Mail_GetMailItems() { MailId = mailId });
+            M2C_GetMailItems response = null;
+            response = (M2C_GetMailItems)await MessageHelper.SendToServer(new C2M_GetMailItems() { MailId = mailId });
             if (response != null)
             {
                 if (response.Error == ErrorCode.ERR_Success)
@@ -119,8 +119,8 @@ namespace GFGGame
         }
         public static async ETTask<bool> ReqAllMailRewards()
         {
-            Mail2C_GetAllMailItems response = null;
-            response = (Mail2C_GetAllMailItems)await MessageHelper.SendToServer(new C2Mail_GetAllMailItems());
+            M2C_GetAllMailItems response = null;
+            response = (M2C_GetAllMailItems)await MessageHelper.SendToServer(new C2M_GetAllMailItems());
             if (response != null)
             {
                 if (response.Error == ErrorCode.ERR_Success)