修复台湾问题;加服务器时间;
This commit is contained in:
1 parent
584cba79ae
commit
9a4e646a8f
12 files changed
+187
-34
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user