From 3a20b76d4ac3c8db5525e678a2f4da73de997515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=BC=BA?= <357099073@qq.com> Date: Fri, 4 Jul 2025 11:56:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B5=84=E6=BA=90=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=EF=BC=8C=E5=89=8D=E5=90=8E=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/YunzeradminController.php | 8 ++ app/admin/view/resources/edit.php | 95 +++++++++---- app/index/view/component/main.php | 4 +- app/index/view/resources/detail.php | 126 +++++++++++++++--- .../temp/606cb5a28477c3a4a33c90fc473c4624.php | 14 +- .../temp/cb3abdcb36407244b9b613766f30573b.php | 6 +- .../temp/f8995f34639557c9f17f79801bc58d25.php | 13 +- 7 files changed, 210 insertions(+), 56 deletions(-) diff --git a/app/admin/controller/YunzeradminController.php b/app/admin/controller/YunzeradminController.php index 0c15039..bce79c7 100644 --- a/app/admin/controller/YunzeradminController.php +++ b/app/admin/controller/YunzeradminController.php @@ -1053,4 +1053,12 @@ class YunzeradminController extends Base } return json(['code' => 1, 'msg' => '请求方法无效']); } + + //获取推送内容Articles和Resources + //https://www.yunzer.cn/index/articles/detail?id=30 + //https://www.yunzer.cn/index/program/index?cateid=2 + //https://www.yunzer.cn/index/game/index?cateid=8 + //https://www.yunzer.cn/index/resources/detail?id=3 + + } \ No newline at end of file diff --git a/app/admin/view/resources/edit.php b/app/admin/view/resources/edit.php index 5ad9f4c..27bb18d 100644 --- a/app/admin/view/resources/edit.php +++ b/app/admin/view/resources/edit.php @@ -97,29 +97,41 @@
{$image|basename}
+| 缩略图 | +操作 | +
|---|---|
|
+
+
+ |
+ + + | +
{$resource.images|basename}
-