修复台湾问题;加服务器时间;

This commit is contained in:
suntao committed 2021-05-08 11:09:03 +08:00
1 parent 584cba79ae
commit 9a4e646a8f
12 files changed
+187 -34

No files matched your search

+4 -3
View File
@@ -123,12 +123,13 @@ namespace Assets.Scripts.Apis
return result;
}
public DateTime GetNow()
public async Task<DateTime> GetNow()
{
var result = Get("NoAuth/GetNow");
var result = await GetAsync("NoAuth/GetNow");
return DateTime.Parse(result);
return DateTime.Parse(System.Text.Encoding.UTF8.GetString(result));
}
public async Task<JsonResult<object>> Register(string Phone, string Pwd, string Captcha)
{
var param = new