Ver Fonte

feat: EK-2806: 会员端Promo和banner图增加分国家设置.

kevin há 3 meses atrás
pai
commit
86f5a85612
1 ficheiros alterados com 8 adições e 8 exclusões
  1. 8 8
      backendApi/modules/v1/models/lists/ad/AdIndexList.php

+ 8 - 8
backendApi/modules/v1/models/lists/ad/AdIndexList.php

@@ -43,14 +43,14 @@ class AdIndexList extends \common\libs\dataList\DataList implements DataListInte
                     'headerOther' => ['width' => '150'],
                 ],
                 'COUNTRY_NAME' => null,
-                'LID' => [
-                    'label' => '广告位',
-                    'type' => function($data){
-                        $value = $data['value'];
-                        $adLocation = AdLocation::findOneAsArray('ID=:ID', [':ID'=>$value], 'LOCATION_NAME');
-                        return $adLocation['LOCATION_NAME'];
-                    },
-                ],
+//                'LID' => [
+//                    'label' => '广告位',
+//                    'type' => function($data){
+//                        $value = $data['value'];
+//                        $adLocation = AdLocation::findOneAsArray('ID=:ID', [':ID'=>$value], 'LOCATION_NAME');
+//                        return $adLocation['LOCATION_NAME'];
+//                    },
+//                ],
                 'STATUS' => [
                     'header' => Yii::t('ctx', 'status'),
                     'headerOther' => ['width' => '100'],