Commit a7a0113f authored by 黄奎's avatar 黄奎

页面修改

parent 29dc6e05
......@@ -180,8 +180,8 @@ namespace Edu.WebApi.Controllers.LearningGarden
List<WeChatLearningGardenItem> allList = new List<WeChatLearningGardenItem>();
pageCount = parm.GetInt("news_count");//图文总数
while (((pageIndex - 1) * pageSize) <= pageCount)
int dataCount = 1;
while (dataCount>0)
{
string dt = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
var tempImgList = GetGoodsList(pageIndex, pageSize);
......@@ -189,6 +189,7 @@ namespace Edu.WebApi.Controllers.LearningGarden
{
allList.AddRange(tempImgList);
}
dataCount = tempImgList?.Count ?? 0;
pageIndex++;
}
Common.Plugin.LogHelper.WriteInfo("GetGoodsData: " + allList.Count());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment