diff --git a/application/index/controller/Goods.php b/application/index/controller/Goods.php index 50968cf15e7bf681dfb85284d6d13758c8942e6a..99a02a317d48630d43a6f6335f9e8381e536cb87 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 7fb4b4ce8cf21ddb6f5dd9c94f67aad0e78b5245..4b0e032c118a44cd4b442245f843c1cb1812fea7 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 3d956197de7f365e878409196d52f2b236b2ab8b..85cbfacdc1fee264af42b99a43c0bd261245bdbd 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, // 是否支持多模块