|
@ -207,7 +207,7 @@ namespace AMESCoreStudio.Web.Controllers |
|
|
|
|
|
|
|
|
[ResponseCache(Duration = 0)] |
|
|
[ResponseCache(Duration = 0)] |
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public async Task<IActionResult> GetSystemInfoesAsync(int page = 1, int limit = 10) |
|
|
public async Task<IActionResult> GetSystemInfoesAsync(int page = 0, int limit = 10) |
|
|
{ |
|
|
{ |
|
|
var result = await _sysApi.GetSystemInfoes(page,limit); |
|
|
var result = await _sysApi.GetSystemInfoes(page,limit); |
|
|
var result_total = await _sysApi.GetSystemInfoes(0, limit); |
|
|
var result_total = await _sysApi.GetSystemInfoes(0, limit); |
|
@ -356,7 +356,7 @@ namespace AMESCoreStudio.Web.Controllers |
|
|
|
|
|
|
|
|
[ResponseCache(Duration = 0)] |
|
|
[ResponseCache(Duration = 0)] |
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public async Task<IActionResult> GetModuleInfoesBySystemAsync(int systemID, int page = 1, int limit = 10) |
|
|
public async Task<IActionResult> GetModuleInfoesBySystemAsync(int systemID, int page = 0, int limit = 10) |
|
|
{ |
|
|
{ |
|
|
var result = await _sysApi.GetModuleInfoesBySystem(systemID, page, limit); |
|
|
var result = await _sysApi.GetModuleInfoesBySystem(systemID, page, limit); |
|
|
var result_total = await _sysApi.GetModuleInfoesBySystem(systemID, 0, limit); |
|
|
var result_total = await _sysApi.GetModuleInfoesBySystem(systemID, 0, limit); |
|
@ -478,7 +478,7 @@ namespace AMESCoreStudio.Web.Controllers |
|
|
|
|
|
|
|
|
[ResponseCache(Duration = 0)] |
|
|
[ResponseCache(Duration = 0)] |
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public async Task<IActionResult> GetProgramInfoesByModuleAsync(int moduleID, int page = 1, int limit = 10) |
|
|
public async Task<IActionResult> GetProgramInfoesByModuleAsync(int moduleID, int page = 0, int limit = 10) |
|
|
{ |
|
|
{ |
|
|
var result = await _sysApi.GetProgramInfoesByMoudle(moduleID, page, limit); |
|
|
var result = await _sysApi.GetProgramInfoesByMoudle(moduleID, page, limit); |
|
|
var result_total = await _sysApi.GetProgramInfoesByMoudle(moduleID, 0, limit); |
|
|
var result_total = await _sysApi.GetProgramInfoesByMoudle(moduleID, 0, limit); |
|
@ -568,7 +568,7 @@ namespace AMESCoreStudio.Web.Controllers |
|
|
|
|
|
|
|
|
[ResponseCache(Duration = 0)] |
|
|
[ResponseCache(Duration = 0)] |
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public async Task<IActionResult> GetRoleInfoesAsync(int page = 1, int limit = 10) |
|
|
public async Task<IActionResult> GetRoleInfoesAsync(int page = 0, int limit = 10) |
|
|
{ |
|
|
{ |
|
|
var result = await _sysApi.GetRoleInfoes(page,limit); |
|
|
var result = await _sysApi.GetRoleInfoes(page,limit); |
|
|
var result_total = await _sysApi.GetRoleInfoes(0,limit); |
|
|
var result_total = await _sysApi.GetRoleInfoes(0,limit); |
|
@ -705,7 +705,7 @@ namespace AMESCoreStudio.Web.Controllers |
|
|
|
|
|
|
|
|
[ResponseCache(Duration = 0)] |
|
|
[ResponseCache(Duration = 0)] |
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public async Task<IActionResult> GetRoleModulesByRoleAsync(int roleID, int page = 1, int limit = 10) |
|
|
public async Task<IActionResult> GetRoleModulesByRoleAsync(int roleID, int page = 0, int limit = 10) |
|
|
{ |
|
|
{ |
|
|
var result = await _sysApi.GetRoleModulesByRole(roleID,page,limit); |
|
|
var result = await _sysApi.GetRoleModulesByRole(roleID,page,limit); |
|
|
var result_total = await _sysApi.GetRoleModulesByRole(roleID, 0, limit); |
|
|
var result_total = await _sysApi.GetRoleModulesByRole(roleID, 0, limit); |
|
@ -842,7 +842,7 @@ namespace AMESCoreStudio.Web.Controllers |
|
|
|
|
|
|
|
|
[ResponseCache(Duration = 0)] |
|
|
[ResponseCache(Duration = 0)] |
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public async Task<IActionResult> GetRoleProgramsByRoleAsync(int roleID, int page = 1, int limit = 10) |
|
|
public async Task<IActionResult> GetRoleProgramsByRoleAsync(int roleID, int page = 0, int limit = 10) |
|
|
{ |
|
|
{ |
|
|
var result = await _sysApi.GetRoleProgramsByRole(roleID, page, limit); |
|
|
var result = await _sysApi.GetRoleProgramsByRole(roleID, page, limit); |
|
|
var result_total = await _sysApi.GetRoleProgramsByRole(roleID,0,limit); |
|
|
var result_total = await _sysApi.GetRoleProgramsByRole(roleID,0,limit); |
|
@ -1052,7 +1052,7 @@ namespace AMESCoreStudio.Web.Controllers |
|
|
|
|
|
|
|
|
[ResponseCache(Duration = 0)] |
|
|
[ResponseCache(Duration = 0)] |
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public async Task<IActionResult> GetUserInfoesAsync(int page = 1, int limit = 10) |
|
|
public async Task<IActionResult> GetUserInfoesAsync(int page = 0, int limit = 10) |
|
|
{ |
|
|
{ |
|
|
var result = await _sysApi.GetUserInfoes(page,limit); |
|
|
var result = await _sysApi.GetUserInfoes(page,limit); |
|
|
var result_total = await _sysApi.GetUserInfoes(0,limit); |
|
|
var result_total = await _sysApi.GetUserInfoes(0,limit); |
|
@ -1188,7 +1188,7 @@ namespace AMESCoreStudio.Web.Controllers |
|
|
|
|
|
|
|
|
[ResponseCache(Duration = 0)] |
|
|
[ResponseCache(Duration = 0)] |
|
|
[HttpGet] |
|
|
[HttpGet] |
|
|
public async Task<IActionResult> GetUserRolesByUserAsync(int userID, int page = 1, int limit = 10) |
|
|
public async Task<IActionResult> GetUserRolesByUserAsync(int userID, int page = 0, int limit = 10) |
|
|
{ |
|
|
{ |
|
|
var result = await _sysApi.GetUserRolesByUser(userID,page,limit); |
|
|
var result = await _sysApi.GetUserRolesByUser(userID,page,limit); |
|
|
var result_total = await _sysApi.GetUserRolesByUser(userID,0,limit); |
|
|
var result_total = await _sysApi.GetUserRolesByUser(userID,0,limit); |
|
|