using APT.Infrastructure.Api;
using Microsoft.AspNetCore.Authorization;
using System;
using APT.Infrastructure.Core;

namespace APT.Utility
{
    /// <summary>
    /// 需要Token验证的API基类
    /// </summary>
    [Authorize]
    public abstract class AuthorizeApiController<T> : APTApiController<T> where T : MesEntityBase, new()
    {

    }

    /// <summary>
    /// 需要Token验证的API基类
    /// </summary>
    //[Authorize]
    public abstract class AuthorizeTreeApiController<T> : APTTreeApiController<T> where T : TreeEntityBase<T>, new()
    {

    }


}
