public class QrCodeLoginAppService : EvaluationSystemAppServiceBase { private IHttpContextAccessor _httpContextAccessor; public QrCodeLoginAppService( IHttpContextAccessor httpContextAccessor) { _httpContextAccessor = httpContextAccessor; } public async Task<int> QrLoginChangeState(QrLoginChangeStateInput input) { _httpContextAccessor.HttpContext.Request.Cookies.TryGetValue("webToken", out var ck); } }