소스 검색

商户交易统计分页调整

DuGuYang 1 년 전
부모
커밋
6fd1845735
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Areas/Api/Controllers/Main/MerchantInfoController.cs

+ 1 - 1
Areas/Api/Controllers/Main/MerchantInfoController.cs

@@ -409,7 +409,7 @@ namespace MySystem.Areas.Api.Controllers.v1
             int PageNum = int.Parse(function.CheckInt(data.getItem("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;