编写向服务器请求数据的相关函数

This commit is contained in:
2018-12-17 11:27:23 +08:00
parent 84052a0622
commit a3ebaca234
5 changed files with 134 additions and 18 deletions
+3
View File
@@ -50,7 +50,10 @@ namespace Interact
{
//发起登录完成事件
if (head.Error != "")
{
OnLoginDone?.Invoke(head, null);
return;
}
JObject dataObj = (JObject)JsonConvert.DeserializeObject(Encoding.UTF8.GetString(data));
User user = new User
{