using Microsoft.AspNetCore.Cors; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace DataVAPI.Controllers { /// /// 自定义路由 基类 /// [Route("api/[controller]/[action]")] [ApiController] public class BaseController : ControllerBase { } }