Jelajahi Sumber

商户交易分页调整

DuGuYang 1 tahun lalu
induk
melakukan
1c10c47323

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