From 8945ac4b1c0a1f5e040a5c75e6ae630ba2b32f99 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期二, 13 九月 2022 20:23:55 +0800
Subject: [PATCH] App设备点检获取单号修改接口, 开发委外表表 开发班组工资报表查询接口

---
 VueWebApi/Controllers/SendController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/VueWebApi/Controllers/SendController.cs b/VueWebApi/Controllers/SendController.cs
index e251966..21cc605 100644
--- a/VueWebApi/Controllers/SendController.cs
+++ b/VueWebApi/Controllers/SendController.cs
@@ -22,7 +22,7 @@
         [HttpGet]
         public async Task SendMsg(string msg)
         {
-            await webSocket.ConnectAsync(new Uri("ws://localhost:8001"), _cancellation);
+            await webSocket.ConnectAsync(new Uri("ws://localhost:8001"), CancellationToken.None);
             var sendBytes = Encoding.UTF8.GetBytes(msg);//鍙戦�佺殑鏁版嵁
             var bsend = new ArraySegment<byte>(sendBytes);
             await webSocket.SendAsync(bsend, WebSocketMessageType.Binary, true, _cancellation);

--
Gitblit v1.9.3