wesmiler 3 месяцев назад
Родитель
Сommit
f8edc2bdf2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Services/Common/AdService.php

+ 1 - 1
app/Services/Common/AdService.php

@@ -52,7 +52,7 @@ class AdService extends BaseService
         $showNum = \App\Services\ConfigService::make()->getConfigByCode('show_banner_num', 6);
         $num = $num? $num : $showNum;
         $datas = $this->model->where(['position'=> $position,'status'=> 1,'mark'=>1])
-            ->select(['id','cover','title','url','description'])
+            ->select(['id','cover','title','link_type','url','mp_appid','description'])
             ->limit($num)
             ->get()
             ->each(function($item, $k){