|
|
|
@ -105,9 +105,9 @@ public class UserController : ApiController
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet]
|
|
|
|
|
[Route("GetClientUserPermissions")]
|
|
|
|
|
public async Task<DataResult<List<RouteItem>>> GetClientUserPermissions()
|
|
|
|
|
public async Task<DataResult<List<RouteItem>>> GetClientUserPermissions([FromQuery] string id)
|
|
|
|
|
{
|
|
|
|
|
var res = await _invokeService.GetClientUserPermissions();
|
|
|
|
|
var res = await _invokeService.GetClientUserPermissions(id);
|
|
|
|
|
return res;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -118,6 +118,7 @@ public class UserController : ApiController
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet]
|
|
|
|
|
[Route("GetDataRuleListByPermission")]
|
|
|
|
|
[Obsolete]
|
|
|
|
|
public async Task<DataResult<List<DataRuleRes>>> GetDataRuleListByPermission([FromQuery] string permissionId)
|
|
|
|
|
{
|
|
|
|
|
var res = await _invokeService.GetDataRuleListByPermission(permissionId);
|
|
|
|
|