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, // 是否支持多模块