From ca425b889f3c1b5847ffc26a0229307f7f8ef43e Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Tue, 09 Dec 2025 16:11:31 +0800
Subject: [PATCH] 添加消费券 商户端添加页面diy
---
admin/app/api/model/page/Page.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/admin/app/api/model/page/Page.php b/admin/app/api/model/page/Page.php
index 34a3d4b..1798152 100644
--- a/admin/app/api/model/page/Page.php
+++ b/admin/app/api/model/page/Page.php
@@ -147,7 +147,7 @@
{
// 获取文章数据
$model = new Article;
- $articleList = $model->getList($item['params']['auto']['category'], $item['params']['auto']['showNum']);
+ $articleList = $model->getList($item['params']['auto']['category'], $item['params']['auto']['showNum'],0);
return $articleList->isEmpty() ? [] : $articleList->toArray()['data'];
}
@@ -158,7 +158,7 @@
{
// 获取头条数据
$model = new Article;
- $articleList = $model->getList($item['params']['auto']['category'], $item['params']['auto']['showNum']);
+ $articleList = $model->getList($item['params']['auto']['category'], $item['params']['auto']['showNum'],0);
return $articleList->isEmpty() ? [] : $articleList->toArray()['data'];
}
--
Gitblit v1.9.2