路由修改
parent
fdf13ea265
commit
591bb5e306
|
|
@ -11,7 +11,7 @@ namespace OpenAuth.WebApi.Controllers.Permission
|
|||
/// 数据权限控制器
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[Route("api/[controller][action]")]
|
||||
[Route("api")]
|
||||
public class BaseDataAuthController : ControllerBase
|
||||
{
|
||||
private readonly BaseDataAuthorizeApp _baseDataAuthorizeApp;
|
||||
|
|
@ -110,13 +110,13 @@ namespace OpenAuth.WebApi.Controllers.Permission
|
|||
}
|
||||
|
||||
|
||||
[HttpGet]
|
||||
[HttpGet("BaseDataAuth/GetWhereSql")]
|
||||
public async Task<string> GetWhereSql(string code)
|
||||
{
|
||||
return await _baseDataAuthorizeApp.GetWhereSql(code);
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[HttpGet("BaseDataAuth/GetEntityByCode")]
|
||||
public async Task<Response<FormScheme>> GetEntityByCode(string code)
|
||||
{
|
||||
return await _baseDataAuthorizeApp.GetEntityByCode(code);
|
||||
|
|
|
|||
Loading…
Reference in New Issue