Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationTerminal
This commit is contained in:
commit
b1c89a3813
2 files changed
+4
-3
No files matched your search
+2
-2
@@ -89,11 +89,11 @@ namespace SunlightAggregationTerminal.Class
|
||||
var request = new HttpRequest();
|
||||
request.SetContent(new StringHttpContent(JsonSerializer.Serialize(dat), Encoding.UTF8, "application/scjson"))
|
||||
.InitHeaders()
|
||||
.SetUrl("/api/user-report")
|
||||
.SetUrl("/H")
|
||||
.SetHost(httpclient.RemoteIPHost.Host)
|
||||
.AsPost();
|
||||
|
||||
// 创建一个超时操作,10秒后取消
|
||||
// 创建一个超时操作,15秒后取消
|
||||
using var cts = new CancellationTokenSource(1000 * 15);
|
||||
try
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user