using Microsoft.AspNetCore.Mvc;

namespace CloudGaming.ExtApi.Base;

/// <summary>
/// 基础父类
/// </summary>
/// <param name="_serviceProvider"></param>
[ApiController]
[Route("api/[controller]/[action]")]

public class CloudGamingControllerBase(IServiceProvider _serviceProvider) : ControllerBase
{
    /// <summary>
    /// 数据库使用
    /// </summary>
    public IServiceProvider ServiceProvider { get; set; } = _serviceProvider;
}
