|
@@ -294,7 +294,7 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
int PageNum = int.Parse(function.CheckInt(data["PageNum"].ToString()));
|
|
|
List<Dictionary<string, object>> dataList = new List<Dictionary<string, object>>();
|
|
|
string limit = " limit " + PageSize;
|
|
|
- if (PageNum == 1)
|
|
|
+ if (PageNum > 1)
|
|
|
{
|
|
|
int skipNum = PageSize * (PageNum - 1);
|
|
|
limit = " limit " + skipNum + "," + PageSize;
|