From 15a7b31e2e3a22f7909a36464bc8aceb2244dbba Mon Sep 17 00:00:00 2001 From: tanghai Date: Wed, 23 Jan 2019 16:17:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dhttp=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E4=B8=AA=E5=BC=82=E6=AD=A5=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/Model/Module/Http/HttpComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/Model/Module/Http/HttpComponent.cs b/Server/Model/Module/Http/HttpComponent.cs index 0bde77bd..9adcd658 100644 --- a/Server/Model/Module/Http/HttpComponent.cs +++ b/Server/Model/Module/Http/HttpComponent.cs @@ -234,7 +234,7 @@ namespace ETModel // 自动把返回值,以json方式响应。 object resp = methodInfo.Invoke(httpHandler, args); object result = resp; - if (resp is ETTask t) + if (resp is ETTask t) { await t; result = t.GetType().GetProperty("Result").GetValue(t, null); -- GitLab