From d7482114821e77cf6cdd287b33869b911d9b0500 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Sun, 23 Jun 2019 19:50:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E7=9B=B8=E5=86=8C=E9=92=A9=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Goods.php | 2 +- application/tags.php | 8 ++++++++ config/app.php | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/application/index/controller/Goods.php b/application/index/controller/Goods.php index 50968cf15..99a02a317 100755 --- a/application/index/controller/Goods.php +++ b/application/index/controller/Goods.php @@ -146,7 +146,7 @@ class Goods extends Common private function PluginsHook($goods_id, &$goods) { // 商品页面相册内部钩子 - $this->assign('plugins_view_goods_detail_photo_within_data', Hook::listen('plugins_view_goods_detail_photo_bottom', + $this->assign('plugins_view_goods_detail_photo_within_data', Hook::listen('plugins_view_goods_detail_photo_within', [ 'hook_name' => 'plugins_view_goods_detail_photo_within', 'is_backend' => false, diff --git a/application/tags.php b/application/tags.php index 7fb4b4ce8..4b0e032c1 100755 --- a/application/tags.php +++ b/application/tags.php @@ -32,5 +32,13 @@ return array ( 'log_write' => array ( ), + 'plugins_css' => + array ( + 0 => 'app\\plugins\\goodsphototag\\Hook', + ), + 'plugins_view_goods_detail_photo_bottom' => + array ( + 0 => 'app\\plugins\\goodsphototag\\Hook', + ), ); ?> \ No newline at end of file diff --git a/config/app.php b/config/app.php index 3d956197d..85cbfacdc 100755 --- a/config/app.php +++ b/config/app.php @@ -19,7 +19,7 @@ return [ // 应用地址 'app_host' => '', // 应用调试模式 - 'app_debug' => false, + 'app_debug' => true, // 应用Trace 'app_trace' => false, // 是否支持多模块 -- GitLab