修改路由实现方式,加入Rrea支持

This commit is contained in:
falcon 2022-04-20 11:10:04 +08:00
parent 82e8048dcf
commit 13cdd46180

View File

@ -14,7 +14,7 @@ namespace Falcon.SugarApi.ApiDefinistions
/// </summary> /// </summary>
[Area("api")] [Area("api")]
[ApiController] [ApiController]
[Route("api/[Controller]/[Action]")] [Route("[Area]/[Controller]/[Action]")]
public abstract class ApiControllerBase : ControllerBase public abstract class ApiControllerBase : ControllerBase
{ {
/// <summary> /// <summary>