From 0d2871b7321394d31a37f5cab82e3c37e0fbc8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Sat, 16 Apr 2022 22:33:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/data/controller/api/Data.php | 4 ++-- app/data/controller/base/Slider.php | 12 ++++++------ app/data/view/base/slider/form.html | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/data/controller/api/Data.php b/app/data/controller/api/Data.php index a5b589ee8..6abaf6a39 100644 --- a/app/data/controller/api/Data.php +++ b/app/data/controller/api/Data.php @@ -26,7 +26,7 @@ class Data extends Controller } /** - * 获取轮播图片数据 + * 获取图片内容数据 * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException @@ -34,7 +34,7 @@ class Data extends Controller public function getSlider() { $data = sysdata(input('keys', 'slider')); - $this->success('获取轮播图片', $data); + $this->success('获取图片内容', $data); } /** diff --git a/app/data/controller/base/Slider.php b/app/data/controller/base/Slider.php index d502986ff..72629bd8a 100644 --- a/app/data/controller/base/Slider.php +++ b/app/data/controller/base/Slider.php @@ -6,7 +6,7 @@ use think\admin\Controller; use think\admin\model\SystemBase; /** - * 轮播图片管理 + * 图片内容管理 * Class Slider * @package app\data\controller\base */ @@ -27,7 +27,7 @@ class Slider extends Controller * 数据类型 * @var string */ - protected $type = '轮播图片'; + protected $type = '图片内容'; /** * 页面类型 @@ -45,18 +45,18 @@ class Slider extends Controller } /** - * 轮播图片管理 + * 图片内容管理 * @auth true * @menu true */ public function index() { - $this->title = '轮播图片管理'; + $this->title = '图片内容管理'; $this->fetch(); } /** - * 编辑轮播图片 + * 编辑图片内容 * @auth true * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException @@ -72,7 +72,7 @@ class Slider extends Controller } /** - * 保存轮播图片 + * 保存图片内容 * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException diff --git a/app/data/view/base/slider/form.html b/app/data/view/base/slider/form.html index 881bc6fc7..61b6ff0f2 100644 --- a/app/data/view/base/slider/form.html +++ b/app/data/view/base/slider/form.html @@ -12,7 +12,7 @@
- {$title|default='轮播图片管理'} + {$title|default='图片内容管理'}
{$base.content|default='图片尺寸:1080px * 1882px'}
{$skey}