BaseController.cs 375 B

123456789101112131415161718192021
  1. using Hotline.Api.Filter;
  2. using Microsoft.AspNetCore.Mvc;
  3. using MiniExcelLibs;
  4. namespace Hotline.Api.Controllers;
  5. [ApiController]
  6. [Produces("application/json")]
  7. [Route("api/v1/[controller]")]
  8. [LogFilterAttribute]
  9. public class BaseController : ControllerBase
  10. {
  11. }
  12. [ApiController]
  13. [Route("api/v1/[controller]")]
  14. public class OriginController : ControllerBase
  15. {
  16. }