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

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

kevin 3 месяцев назад
Родитель
Сommit
c1709e2804
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      backendApi/modules/v1/models/lists/article/IndexList.php

+ 3 - 2
backendApi/modules/v1/models/lists/article/IndexList.php

@@ -56,8 +56,9 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
                     'header' => Yii::t('ctx', 'country'),
                     'headerOther' => ['width' => '150'],
                 ],
+                'COUNTRY_NAME' => null,
                 'STATUS' => [
-                    'header' => Yii::t('ctx', 'activeStatus'),
+                    'header' => Yii::t('ctx', 'status'),
                     'headerOther' => ['width' => '100'],
                 ],
                 'SORT' => null,
@@ -85,7 +86,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
                     'selectData'=> self::getCountry()
                 ],
                 'STATUS'=> [
-                    'name'=> Yii::t('ctx', 'activeStatus'),
+                    'name'=> Yii::t('ctx', 'status'),
                     'other'=> 'select',
                     'selectData'=> [
                         ['id'=> 0, 'name'=> Yii::t('ctx', 'Hide')],