using Microsoft.AspNetCore.Mvc;
using NSwag.Annotations;
using SSCMS.Configuration;
using SSCMS.Repositories;
using SSCMS.Services;

namespace SSCMS.Web.Controllers.Wx
{
    [OpenApiIgnore]
    [Route(Constants.ApiWxPrefix)]
    public partial class IndexController : ControllerBase
    {
        public const string Route = "index/{siteId}";

        private readonly IWxManager _wxManager;
        private readonly IWxAccountRepository _wxAccountRepository;
        private readonly IWxChatRepository _wxChatRepository;
        private readonly IErrorLogRepository _errorLogRepository;

        public IndexController(IWxManager wxManager, IWxAccountRepository wxAccountRepository, IWxChatRepository wxChatRepository, IErrorLogRepository errorLogRepository)
        {
            _wxManager = wxManager;
            _wxAccountRepository = wxAccountRepository;
            _wxChatRepository = wxChatRepository;
            _errorLogRepository = errorLogRepository;
        }
    }
}
