Commit 75a573f5 by xin.yang

fix bug

parent 0a6ba9b6
......@@ -179,9 +179,9 @@ namespace Siger.ApiACC.Controllers
[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);
}
......
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