소스 검색

商户交易分页调整

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

+ 1 - 1
Areas/Api/Controllers/v1/MainServer/MerchantInfoController.cs

@@ -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;