From e0f6ff03dc526a9139a5d3f2a8900bf238e94375 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Fri, 7 Jan 2022 01:34:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E4=BF=AE=E5=A4=8Dnpgsql=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../IoTSharp.Data.PostgreSQL.csproj | 3 +++ IoTSharp.TaskAction/IoTSharp.TaskAction.csproj | 2 +- IoTSharp/Controllers/DevicesController.cs | 2 ++ IoTSharp/IoTSharp.csproj | 11 +++++++++-- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/IoTSharp.Data.PostgreSQL/IoTSharp.Data.PostgreSQL.csproj b/IoTSharp.Data.PostgreSQL/IoTSharp.Data.PostgreSQL.csproj index d45c1483..9c69b475 100644 --- a/IoTSharp.Data.PostgreSQL/IoTSharp.Data.PostgreSQL.csproj +++ b/IoTSharp.Data.PostgreSQL/IoTSharp.Data.PostgreSQL.csproj @@ -14,8 +14,11 @@ runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/IoTSharp.TaskAction/IoTSharp.TaskAction.csproj b/IoTSharp.TaskAction/IoTSharp.TaskAction.csproj index 22c930fd..f84ddd8f 100644 --- a/IoTSharp.TaskAction/IoTSharp.TaskAction.csproj +++ b/IoTSharp.TaskAction/IoTSharp.TaskAction.csproj @@ -5,7 +5,7 @@ - + diff --git a/IoTSharp/Controllers/DevicesController.cs b/IoTSharp/Controllers/DevicesController.cs index 6fb9bba0..8a41a4c7 100644 --- a/IoTSharp/Controllers/DevicesController.cs +++ b/IoTSharp/Controllers/DevicesController.cs @@ -260,6 +260,8 @@ namespace IoTSharp.Controllers /// /// 一个压缩包,包含ca.crt client.crt client.key [HttpGet("{deviceId}/DownloadCertificates")] + [ProducesResponseType(typeof(ApiResult), StatusCodes.Status404NotFound)] + [ProducesResponseType(typeof(ApiResult), StatusCodes.Status400BadRequest)] public ActionResult DownloadCertificates(Guid deviceId) { try diff --git a/IoTSharp/IoTSharp.csproj b/IoTSharp/IoTSharp.csproj index 8451ec59..dd248f98 100644 --- a/IoTSharp/IoTSharp.csproj +++ b/IoTSharp/IoTSharp.csproj @@ -30,11 +30,12 @@ true true - Copyright 2018-2021 Yanhong Ma + Copyright 2018-2022 Yanhong Ma 2.0.1.0 2.0.1.0 LICENSE.txt 96x96.png + README.md @@ -98,12 +99,14 @@ + + - + @@ -171,6 +174,10 @@ True + + True + \ + -- GitLab