Jelajahi Sumber

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

kevin 4 bulan lalu
induk
melakukan
c1709e2804
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  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'),
                     'header' => Yii::t('ctx', 'country'),
                     'headerOther' => ['width' => '150'],
                     'headerOther' => ['width' => '150'],
                 ],
                 ],
+                'COUNTRY_NAME' => null,
                 'STATUS' => [
                 'STATUS' => [
-                    'header' => Yii::t('ctx', 'activeStatus'),
+                    'header' => Yii::t('ctx', 'status'),
                     'headerOther' => ['width' => '100'],
                     'headerOther' => ['width' => '100'],
                 ],
                 ],
                 'SORT' => null,
                 'SORT' => null,
@@ -85,7 +86,7 @@ class IndexList extends \common\libs\dataList\DataList implements DataListInterf
                     'selectData'=> self::getCountry()
                     'selectData'=> self::getCountry()
                 ],
                 ],
                 'STATUS'=> [
                 'STATUS'=> [
-                    'name'=> Yii::t('ctx', 'activeStatus'),
+                    'name'=> Yii::t('ctx', 'status'),
                     'other'=> 'select',
                     'other'=> 'select',
                     'selectData'=> [
                     'selectData'=> [
                         ['id'=> 0, 'name'=> Yii::t('ctx', 'Hide')],
                         ['id'=> 0, 'name'=> Yii::t('ctx', 'Hide')],