From 097a5f9e524acd965fa2abcfd18db30fc3f00ddb Mon Sep 17 00:00:00 2001
From: huangsijun <1773182001@qq.com>
Date: Thu, 11 Dec 2025 16:25:55 +0800
Subject: [PATCH] 修改阿里云上传的
---
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