From 520aaac302bcdaaa2f0de299f98fe887f795923d Mon Sep 17 00:00:00 2001 From: youngq Date: Fri, 27 Sep 2024 13:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=8E=A5=E5=8F=A3=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=AD=97=E6=AE=B5=EF=BC=8C=E5=8C=BA=E5=88=86=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=8C=BF=E5=90=8D=E7=94=A8=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WGShare.API/Controllers/AuthController.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/WGShare.API/Controllers/AuthController.cs b/WGShare.API/Controllers/AuthController.cs index 469e885..f0b40ac 100644 --- a/WGShare.API/Controllers/AuthController.cs +++ b/WGShare.API/Controllers/AuthController.cs @@ -139,7 +139,8 @@ namespace WGShare.API.Controllers expire = _configuration["Jwt:Expires"].ToInt32(), account = user.Account, uid = user.Id, - screenShareId = user.ScreenShareId + screenShareId = user.ScreenShareId, + isAnonymous = false }); } @@ -191,7 +192,8 @@ namespace WGShare.API.Controllers expire = _configuration["Jwt:Expires"].ToInt32(), account = user.Account, uid = user.Id, - screenShareId = user.ScreenShareId + screenShareId = user.ScreenShareId, + isAnonymous = false }); } @@ -271,7 +273,8 @@ namespace WGShare.API.Controllers expire = _configuration["Jwt:Expires"].ToInt32(), account = user.Account, uid = user.Id, - screenShareId = user.ScreenShareId + screenShareId = user.ScreenShareId, + isAnonymous = true }); }