登录接口新增字段,区分是否匿名用户

This commit is contained in:
youngq 2024-09-27 13:59:13 +08:00
parent e897520326
commit 520aaac302
1 changed files with 6 additions and 3 deletions

View File

@ -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
});
}