Просмотр исходного кода

wesmiler ECY 画画交易平台

APPLE 3 лет назад
Родитель
Сommit
0fdbeab62e
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      application/shop/controller/Index.php

+ 3 - 0
application/shop/controller/Index.php

@@ -58,7 +58,10 @@ class Index extends Frontend
             'speed_usdt'=> isset($counts['speed_usdt'])? $counts['speed_usdt'] : 0,
         ];
 
+        $config = Config::getConfigByGroup('basic');
+        $indexVideo = isset($config['index_video'])? $config['index_video']['value'] : '';
         $this->view->assign([
+            'indexVideo'=>$indexVideo,
             'slideshow'=>$slideshow,
             'cats' => $cats,
             'awards'=> $awards,