diff --git a/application/index/controller/Goods.php b/application/index/controller/Goods.php index 790b6aa5c..50968cf15 100755 --- a/application/index/controller/Goods.php +++ b/application/index/controller/Goods.php @@ -145,6 +145,15 @@ 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', + [ + 'hook_name' => 'plugins_view_goods_detail_photo_within', + 'is_backend' => false, + 'goods_id' => $goods_id, + 'goods' => &$goods, + ])); + // 商品页面相册底部钩子 $this->assign('plugins_view_goods_detail_photo_bottom_data', Hook::listen('plugins_view_goods_detail_photo_bottom', [ diff --git a/application/index/view/default/goods/index.html b/application/index/view/default/goods/index.html index 82a6c0a6a..b2275c4be 100755 --- a/application/index/view/default/goods/index.html +++ b/application/index/view/default/goods/index.html @@ -36,6 +36,20 @@ your browser does not support the video tag {{/if}} + + + {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}} +