更新api
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user