From 7611051d78c721058cbfb79e6856120d8a55f106 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Mon, 11 Feb 2019 10:33:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=90=8D=E7=A7=B0=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...{CommonTopMaxPicture.php => Commontopmaxpicturesss.php} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename application/plugins/commontopmaxpicture/{CommonTopMaxPicture.php => Commontopmaxpicturesss.php} (97%) diff --git a/application/plugins/commontopmaxpicture/CommonTopMaxPicture.php b/application/plugins/commontopmaxpicture/Commontopmaxpicturesss.php similarity index 97% rename from application/plugins/commontopmaxpicture/CommonTopMaxPicture.php rename to application/plugins/commontopmaxpicture/Commontopmaxpicturesss.php index 9239b1916..ffbafa3cf 100644 --- a/application/plugins/commontopmaxpicture/CommonTopMaxPicture.php +++ b/application/plugins/commontopmaxpicture/Commontopmaxpicturesss.php @@ -20,7 +20,7 @@ use app\service\PluginsService; * @version 0.0.1 * @datetime 2016-12-01T21:51:08+0800 */ -class CommonTopMaxPicture extends Controller +class Commontopmaxpicture extends Controller { /** * 应用响应入口 @@ -39,7 +39,7 @@ class CommonTopMaxPicture extends Controller // 默认返回视图 } else { - return $this->html(); + return $this->html($params); } } @@ -49,8 +49,9 @@ class CommonTopMaxPicture extends Controller * @blog http://gong.gg/ * @version 1.0.0 * @datetime 2019-02-06T16:16:34+0800 + * @param [array] $params [输入参数] */ - public function html() + public function html($params = []) { // 当前模块/控制器/方法 $module_name = strtolower(request()->module());