更新api

This commit is contained in:
2018-12-03 16:16:18 +08:00
parent 3d4d9f2d3c
commit 9c1cce3505
6 changed files with 73 additions and 31 deletions
@@ -34,7 +34,7 @@ namespace COMCMS.Web.Controllers.api
/// <returns></returns>
[HttpGet]
[CheckFilter]
public object GetCategories(int level, int pid = 0, string random = "", string timeStamp = "", string signature = "")
public object GetCategories(int level, int pid = 0)
{
var list = Category.GetListTree(pid, level, false, false);
@@ -74,7 +74,7 @@ namespace COMCMS.Web.Controllers.api
/// <returns></returns>
[HttpGet]
[CheckFilter]
public object GetProductList(int kid, int page, int pageSize = 10, string random = "", string timeStamp = "", string signature = "")
public object GetProductList(int kid, int page, int pageSize = 10)
{
var where = Product._.IsHide == 0;
if (kid > 0)