Commit 676b5c8b by 朱继来

添加热门商品

parent 6b24d0b0
...@@ -8,6 +8,7 @@ class BaseController extends Controller ...@@ -8,6 +8,7 @@ class BaseController extends Controller
{ {
$datas['logo'] = $this->apiBaseCache('pc_logo_set'); // logo $datas['logo'] = $this->apiBaseCache('pc_logo_set'); // logo
$datas['bottom_qrcode'] = $this->apiBaseCache('pc_bottom_qrcode'); // 底部二维码 $datas['bottom_qrcode'] = $this->apiBaseCache('pc_bottom_qrcode'); // 底部二维码
$datas['hot_goods'] = $this->apiBaseCache('pc_hot_goods', '', 5); // 热门商品
foreach ($datas as $k => $v) { foreach ($datas as $k => $v) {
$this->assign($k, $v['data']); $this->assign($k, $v['data']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment