wangxinhui
2024-12-26 78b99e5348592a29ca1393a5e13db619cc4eba56
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using WIDESEA_Services.IServices;
 
namespace WIDESEA_Services.Controllers
{
    public partial class dt_stationmanagerController
    {
        private readonly Idt_stationmanagerService _service;//访问业务代码
        private readonly IHttpContextAccessor _httpContextAccessor;
 
        [ActivatorUtilitiesConstructor]
        public dt_stationmanagerController(
            Idt_stationmanagerService service,
            IHttpContextAccessor httpContextAccessor
        )
        : base(service)
        {
            _service = service;
            _httpContextAccessor = httpContextAccessor;
        }
 
    }
}