提交 b1bc4778 编写于 作者: D devil_gong

秒杀

上级 99f28c2b
...@@ -56,6 +56,14 @@ class Index extends Common ...@@ -56,6 +56,14 @@ class Index extends Common
'common_app_is_online_service' => (int) MyC('common_app_is_online_service', 0), 'common_app_is_online_service' => (int) MyC('common_app_is_online_service', 0),
]; ];
// 秒杀
$plugins_class = 'app\plugins\limitedtimediscount\service\Service';
if(class_exists($plugins_class))
{
$ret = (new $plugins_class())->ApiHomeAd();
$result['plugins_limitedtimediscount_data'] = $ret['data'];
}
// 返回数据 // 返回数据
return DataReturn('success', 0, $result); return DataReturn('success', 0, $result);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册