You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BaseController.cs 330 B

2 年之前
2 年之前
2 年之前
123456789101112131415161718
  1. using Microsoft.AspNetCore.Cors;
  2. using Microsoft.AspNetCore.Http;
  3. using Microsoft.AspNetCore.Mvc;
  4. namespace DataVAPI.Controllers
  5. {
  6. /// <summary>
  7. /// 自定义路由 基类
  8. /// </summary>
  9. [Route("api/[controller]/[action]")]
  10. [ApiController]
  11. public class BaseController : ControllerBase
  12. {
  13. }
  14. }