Commit 1b6a2d13 by yucheng.jiang
parents 94e31f23 75a573f5
...@@ -179,9 +179,9 @@ namespace Siger.ApiACC.Controllers ...@@ -179,9 +179,9 @@ namespace Siger.ApiACC.Controllers
[HttpGet] [HttpGet]
public IActionResult GetCategoryPageList(int id, int page, int pagesize) public IActionResult GetCategoryPageList(string id, int page, int pagesize)
{ {
var data = _toolsCategoryRepository.GetPagedList(id, ProjectId, page, pagesize); var data = _toolsCategoryRepository.GetPagedList(id.ToInt(), ProjectId, page, pagesize);
return new PagedObjectResult(data.Data, data.Total, page, pagesize); return new PagedObjectResult(data.Data, data.Total, page, pagesize);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment