永康嘉持电器有限公司MES后端API
yl
2024-10-09 622910b0f7cfdf90305844794e7451a611f8ae93
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
 
namespace VueWebCoreApi.Quartz
{
    public static class HttpContext
    {
        private static IHttpContextAccessor _accessor;
 
        public static Microsoft.AspNetCore.Http.HttpContext Current => _accessor.HttpContext;
 
        internal static void Configure(IHttpContextAccessor accessor)
        {
            _accessor = accessor;
        }
    }
}