|
|
@@ -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){
|