Browse Source

修复一些接口的参数

胡佳骏 1 year ago
parent
commit
4b07ef61f1

+ 1 - 1
Assets/Game/Blue/RTC/Service/RTCService.cs

@@ -83,7 +83,7 @@ public class RTCService : IRTCService
                 mRTCRoomInfo = JsonConvert.DeserializeObject<RTCRoomInfo>(message);
                 this.SendEvent(new JoinRoomSuccessEvent() { rtcRoomInfo = mRTCRoomInfo });
             }
-        }, "application/x-www-form-urlencoded"));
+        }));
 
     }
 

+ 1 - 1
Assets/Game/Blue/RTC/Service/SignallingService.cs

@@ -25,7 +25,7 @@ public class SignallingService : ISignallingService
                 this.SendEvent(new GetContactsSuccessEvent() { ContactsInfoList = mContactsInfoList });
             }
 
-        }));
+        }, "application/x-www-form-urlencoded"));
        // CoroutineSystem.Instance.StartCoroutine(OnGetContacts());
     }