提交 d7482114 编写于 作者: D devil_gong

商品详情新增相册钩子

上级 d5076947
......@@ -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,
......
......@@ -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
......@@ -19,7 +19,7 @@ return [
// 应用地址
'app_host' => '',
// 应用调试模式
'app_debug' => false,
'app_debug' => true,
// 应用Trace
'app_trace' => false,
// 是否支持多模块
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册