From 967b8772204f0ae4a0ae0fb50f4ff45cdd8a4cc2 Mon Sep 17 00:00:00 2001 From: Hinse <756681202@qq.com> Date: Sat, 7 Aug 2021 18:33:27 +0800 Subject: [PATCH] 2 --- Waste.Application/Test/TestAppService.cs | 7 +++ Waste.Web.Entry/Pages/Socket/Test.cshtml | 59 ++++++++++++++------- Waste.Web.Entry/Pages/Socket/Test.cshtml.cs | 1 + 3 files changed, 47 insertions(+), 20 deletions(-) diff --git a/Waste.Application/Test/TestAppService.cs b/Waste.Application/Test/TestAppService.cs index db105b0..b77fb61 100644 --- a/Waste.Application/Test/TestAppService.cs +++ b/Waste.Application/Test/TestAppService.cs @@ -41,6 +41,13 @@ namespace Waste.Application _loggerService.AddLogger(msg, 1); return "success"; } + + [HttpGet] + public void ConnectServer() + { + + } + [HttpGet] public async Task TestSendAsync() { diff --git a/Waste.Web.Entry/Pages/Socket/Test.cshtml b/Waste.Web.Entry/Pages/Socket/Test.cshtml index 74f67f4..54db55b 100644 --- a/Waste.Web.Entry/Pages/Socket/Test.cshtml +++ b/Waste.Web.Entry/Pages/Socket/Test.cshtml @@ -25,6 +25,8 @@